Documentation ¶
Index ¶
- Constants
- type VDR
- func (v *VDR) Accept(method string) bool
- func (v *VDR) Close() error
- func (v *VDR) Create(didDoc *did.Doc, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
- func (v *VDR) Deactivate(did string, opts ...vdrapi.DIDMethodOption) error
- func (v *VDR) Read(didID string, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
- func (v *VDR) Update(didDoc *diddoc.Doc, opts ...vdrapi.DIDMethodOption) error
Constants ¶
View Source
const ( // HTTPClientOpt http client opt. HTTPClientOpt = "httpClient" // UseHTTPOpt use http option. UseHTTPOpt = "useHTTP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VDR ¶
type VDR struct{}
VDR implements the VDR interface.
func (*VDR) Create ¶ added in v0.1.6
func (v *VDR) Create(didDoc *did.Doc, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
Create creates a did:web diddoc (unsupported at the moment).
func (*VDR) Deactivate ¶ added in v0.1.6
func (v *VDR) Deactivate(did string, opts ...vdrapi.DIDMethodOption) error
Deactivate did doc.
func (*VDR) Read ¶
func (v *VDR) Read(didID string, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
Read resolves a did:web did.
Click to show internal directories.
Click to hide internal directories.