package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Structs

ErrHashMismatch is the error returned when loading data and verifying its hash and finding that the loaded data doesn't re-hash to the expected value.
ErrLinkingSetup is returned by methods on LinkSystem when some part of the system is not set up correctly, or when one of the components refuses to handle a Link or LinkPrototype given.
LinkContext is a structure carrying ancilary information that may be used while loading or storing data -- see its usage in BlockReadOpener, BlockWriteOpener, and in the methods on LinkSystem which handle loading and storing data.
LinkSystem is a struct that composes all the individual functions needed to load and store content addressed data using IPLD -- encoding functions, hashing functions, and storage connections -- and then offers the operations a user wants -- Store and Load -- as methods.

# Type aliases

The following three types are the key functionality we need from a "blockstore".
The following three types are the key functionality we need from a "blockstore".
The following three types are the key functionality we need from a "blockstore".
The following three types are the key functionality we need from a "blockstore".