Documentation
¶
Index ¶
- type Client
- func (c *Client) AdminProviderDeregister(ctx context.Context, signer ucan.Signer, providerID did.DID, ...) (provider.DeregisterOk, error)
- func (c *Client) AdminProviderList(ctx context.Context, signer ucan.Signer, options ...delegation.Option) (provider.ListOk, error)
- func (c *Client) AdminProviderRegister(ctx context.Context, signer ucan.Signer, endpoint string, ...) (provider.RegisterOk, error)
- func (c *Client) AdminProviderWeightSet(ctx context.Context, signer ucan.Signer, providerID did.DID, weight int, ...) (provider.WeightSetOk, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Connection client.Connection
// contains filtered or unexported fields
}
func (*Client) AdminProviderDeregister ¶
func (*Client) AdminProviderList ¶
func (*Client) AdminProviderRegister ¶
func (c *Client) AdminProviderRegister(ctx context.Context, signer ucan.Signer, endpoint string, proof delegation.Delegation, options ...delegation.Option) (provider.RegisterOk, error)
type Option ¶
func WithConnection ¶
func WithConnection(conn client.Connection) Option
WithConnection configures the client connection to use for invocations.
func WithHTTPClient ¶
WithHTTPClient configures the HTTP client to use when sending invocation requests. Unused when WithConnection option is passed.
func WithServiceURL ¶
WithServiceURL configures the URL to use when sending invocations. Unused when WithConnection option is passed.
Click to show internal directories.
Click to hide internal directories.