Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolveHandler ¶
type ResolveHandler struct {
// contains filtered or unexported fields
}
ResolveHandler resolves did:oak and did:web (produced from did:oak) documents.
func NewResolveHandler ¶
func NewResolveHandler(oakResolver oakResolver, webResolver webResolver) *ResolveHandler
NewResolveHandler returns a new did document resolve handler. Supported methods are did:oak and did:web.
func (*ResolveHandler) ResolveDocument ¶
func (r *ResolveHandler) ResolveDocument(id string, opts ...document.ResolutionOption) (*document.ResolutionResult, error)
ResolveDocument resolves a did document.
Click to show internal directories.
Click to hide internal directories.