Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) CacheClaim(ctx context.Context, issuer principal.Signer, cacheClaim delegation.Delegation, ...) error
- func (c *Client) PublishEqualsClaim(ctx context.Context, issuer principal.Signer, caveats assert.EqualsCaveats, ...) error
- func (c *Client) PublishIndexClaim(ctx context.Context, issuer principal.Signer, caveats assert.IndexCaveats, ...) error
- func (c *Client) QueryClaims(ctx context.Context, query types.Query) (types.QueryResult, error)
- type ErrFailedResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoReceiptFound = errors.New("missing receipt link")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CacheClaim ¶
func (c *Client) CacheClaim(ctx context.Context, issuer principal.Signer, cacheClaim delegation.Delegation, provider claim.Provider, options ...delegation.Option) error
func (*Client) PublishEqualsClaim ¶
func (c *Client) PublishEqualsClaim(ctx context.Context, issuer principal.Signer, caveats assert.EqualsCaveats, options ...delegation.Option) error
func (*Client) PublishIndexClaim ¶
func (c *Client) PublishIndexClaim(ctx context.Context, issuer principal.Signer, caveats assert.IndexCaveats, options ...delegation.Option) error
func (*Client) QueryClaims ¶
type ErrFailedResponse ¶
func (ErrFailedResponse) Error ¶
func (e ErrFailedResponse) Error() string
Click to show internal directories.
Click to hide internal directories.