package
1.3.0
Repository: https://github.com/trustbloc/did-go.git
Documentation: pkg.go.dev

# Functions

NewDocumentLoader returns a new DocumentLoader instance.
WithExtraContexts sets the extra contexts (in addition to embedded) for preloading into the underlying storage.
WithRemoteDocumentLoader specifies loader for fetching JSON-LD context documents from remote URLs.
WithRemoteProvider adds a remote JSON-LD context provider to the list of providers.

# Variables

ErrContextNotFound is returned when JSON-LD context document is not found in the underlying storage.

# Structs

DocumentLoader is an implementation of ld.DocumentLoader backed by storage.

# Interfaces

RemoteProvider defines a remote JSON-LD context provider.

# Type aliases

Opts configures DocumentLoader during creation.