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

# Functions

AppendExternalContexts appends external context(s) to the JSON-LD context which can have one or several contexts already.
Default returns new JSON-LD processor with default RDF dataset algorithm.
NewProcessor returns new JSON-LD processor for aries.
SetDebugOutput used to set output of debug logs.
TransformBlankNode replaces blank node identifiers in the RDF statements.
WithDocumentLoader option is for passing custom JSON-LD document loader.
WithExternalContext option is for definition of external context when doing JSON-LD operations.
WithFrameBlankNodes option for transforming blank node identifiers into nodes.
WithRemoveAllInvalidRDF option for removing all invalid RDF dataset from normalize document.
WithValidateRDF option validates result view and fails if any invalid RDF dataset found.

# Variables

ErrInvalidRDFFound is returned when normalized view contains invalid RDF.

# Structs

Processor is JSON-LD processor for aries.

# Type aliases

Opts are the options for JSON LD operations on docs (like canonicalization or compacting).