package
1.3.1
Repository: https://github.com/iden3/go-schema-processor.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
EntriesFromRDF creates entries from RDF dataset suitable to add to merkle tree.
EntriesFromRDFWithHasher creates entries from RDF dataset suitable to add to with a provided Hasher merkle tree.
HashValue hashes value according to datatype.
HashValueWithHasher hashes value according to datatype with a provided Hasher.
MerkleTreeSQLAdapter is merkle tree sql adapter.
MerklizeJSONLD takes a JSON-LD document, parses it and returns a Merklizer.
NewDocumentLoader creates a new document loader with a cache for http.
NewFieldPathFromContext resolves field path without type path prefix.
No description provided by the author
NewPathFromContext parses context and do its best to generate full Path from shortcut line field1.field2.field3...
No description provided by the author
No description provided by the author
NewValue creates new Value.
SetDocumentLoader changes default DocumentLoader.
SetHasher changes default hasher.
TypeFromContext returns type of field from context by path.
TypeIDFromContext returns @id attribute for type from JSON-LD context.
WithDocumentLoader sets DocumentLoader.
WithHasher sets Hasher option.
WithIPFSClient sets IPFS client option required to resolve ipfs:// contexts.
WithIPFSGateway sets IPFS gateway URL option required to resolve ipfs:// contexts.
WithMerkleTree sets MerkleTree option.
WithSafeMode enables the Safe mode when extending a JSON-LD document.

# Variables

No description provided by the author
ErrorContextTypeIsEmpty is returned when context type tp resolve is empty.
ErrorFieldIsEmpty is returned when field path to resolve is empty.
ErrorUnsupportedType is returned when type is not supported.

# Structs

Merklizer is a struct to work with json-ld doc merklization.
Options type allows to change hashing algorithm and create Path and RDFEntry instances with hasher different from default one.
No description provided by the author
PoseidonHasher is an applier of poseidon hash algorithm.
No description provided by the author

# Interfaces

Hasher is an interface to hash data.
MerkleTree is merkle tree structure.
No description provided by the author

# Type aliases

MerklizeOption is options for merklizer.