resolver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package resolver contains functions for resolving DIDs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DIDResolver

type DIDResolver struct {
	// contains filtered or unexported fields
}

DIDResolver is used for resolving DID using supported DID methods.

func NewDIDResolver

func NewDIDResolver(resolverServerURI string) (*DIDResolver, error)

NewDIDResolver new DID Resolver instance.

Parameter resolverServerURI (optional): if present, provides the URI for a DID resolution server.

func (*DIDResolver) Resolve

func (d *DIDResolver) Resolve(did string) (*didDoc.DocResolution, error)

Resolve resolves a DID.

Jump to

Keyboard shortcuts

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