Documentation ¶
Index ¶
- type Accept
- type Option
- type VDRI
- func (v *VDRI) Accept(method string) bool
- func (v *VDRI) Build(pubKey *vdriapi.PubKey, opts ...vdriapi.DocOpts) (*did.Doc, error)
- func (v *VDRI) Close() error
- func (v *VDRI) Read(didID string, _ ...vdriapi.ResolveOpts) (*did.Doc, error)
- func (v *VDRI) Store(doc *did.Doc, by *[]vdriapi.ModifiedBy) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *VDRI)
Option configures the peer vdri
func WithTLSConfig ¶
WithTLSConfig option is for definition of secured HTTP transport using a tls.Config instance
func WithTimeout ¶
WithTimeout option is for definition of HTTP(s) timeout value of DID Resolver
type VDRI ¶
type VDRI struct {
// contains filtered or unexported fields
}
VDRI via HTTP(s) endpoint
func (*VDRI) Build ¶
Build did doc TODO separate this public DID create from httpbinding
and remove with request builder option [Issue #860]
func (*VDRI) Read ¶
Read implements didresolver.DidMethod.Read interface (https://w3c-ccg.github.io/did-resolution/#resolving-input)
Click to show internal directories.
Click to hide internal directories.