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 ClientOpt ¶
type ClientOpt func(*clientOptions)
ClientOpt represents client option func.
func WithAuthReadToken ¶
WithAuthReadToken add auth token.
func WithAuthWriteToken ¶
WithAuthWriteToken add auth token.
func WithDocumentLoader ¶
func WithDocumentLoader(loader ld.DocumentLoader) ClientOpt
WithDocumentLoader allows providing document loader.
func WithHTTPClient ¶
func WithHTTPClient(client HTTPClient) ClientOpt
WithHTTPClient allows providing HTTP client.
type HTTPClient ¶
HTTPClient represents 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.