Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents VCT client.
type HTTPClient ¶
HTTPClient represents HTTP client.
type Option ¶
type Option func(opts *Client)
Option is a config client instance option.
func WithAuthReadToken ¶
WithAuthReadToken add auth token.
func WithAuthWriteToken ¶
WithAuthWriteToken add auth token.
func WithDocumentLoader ¶
func WithDocumentLoader(loader ld.DocumentLoader) Option
WithDocumentLoader allows providing document loader.
func WithHTTPClient ¶
func WithHTTPClient(client HTTPClient) Option
WithHTTPClient allows providing HTTP client.
type Proof ¶
type Proof struct {
Context interface{} `json:"@context"`
Proof verifiable.Proof `json:"proof"`
}
Proof represents response.
Click to show internal directories.
Click to hide internal directories.