didresolver

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL