package
0.14.0
Repository: https://github.com/sourcenetwork/defradb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AsDSReaderWriter returns a DSReaderWriter from the given datastore.
DeserializePrefix deserializes all elements with the given prefix from the given storage.
FetchKeysForPrefix fetches all keys with the given prefix from the given storage.
MultiStoreFrom creates a MultiStore from a root datastore.
NewConcurrentTxnFrom creates a new Txn from rootstore that supports concurrent API calls.
NewErrInvalidStoredValue returns a new error indicating that the stored value in the database is invalid.
NewTxnFrom returns a new Txn from the rootstore.

# Variables

Errors returnable from this package.
ErrHashMismatch is an error returned when the hash of a block is different than expected.
defradb/store.ErrNotFound => error ipfs-blockstore.ErrNotFound => error ErrNotFound is an error returned when a block is not found.
Errors returnable from this package.

# Structs

Shim to make ds.Txn support ds.Datastore.

# Interfaces

Blockstore proxies the ipld.DAGService under the /core namespace for future-proofing.
DSReaderWriter simplifies the interface that is exposed by a DSReaderWriter into its sub-components Reader and Writer.
IPLDStorage provides the methods needed for an IPLD LinkSystem.
MultiStore is an interface wrapper around the 3 main types of stores needed for MerkleCRDTs.
Rootstore wraps Batching and TxnDatastore requiring datastore to support both batching and transactions.
Txn is a common interface to the db.Txn struct.