Documentation
¶
Overview ¶
Package resolver introduces a simple interface for interoperability with other DID methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// Method value expected on the identifier instance.
Method string
// Network location to retrieve a DID document from. The value can
// be a template with support for the following variables: DID, Method
// and Subject. For example:
// https://did.baidu.com/v1/did/resolve/{{.DID}}
Endpoint string
// Protocol used to communicate with the endpoint. Currently, HTTP(S)
// is supported by submitting GET requests.
Protocol string
// contains filtered or unexported fields
}
Provider represents an external system able to return a DID Document on demand.
Click to show internal directories.
Click to hide internal directories.