resultobject

package
v0.0.0-...-ca61c3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

Client is a client to make requests.

type ClientResult

type ClientResult struct {
	// --8<-- [end:empty-1]
	fx.Out

	Client *Client
}

ClientResult holds the result of NewClient. --8<-- [start:empty-1] --8<-- [start:fxout] --8<-- [start:fields]

func NewClient

func NewClient() (ClientResult, error)

NewClient builds a new Client. --8<-- [start:returnresult] --8<-- [start:produce]

type Inspector

type Inspector struct{}

Inspector inspects client state.

type Result

type Result struct {
	fx.Out

	Client *Client
	// --8<-- [end:start-1]
	Inspector *Inspector
}

Result is the result of this module. --8<-- [start:full] --8<-- [start:start-1]

func New

func New() (Result, error)

New builds a result. --8<-- [start:start-3]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳