package
1.2.1
Repository: https://github.com/threefoldtech/0-stor.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

# Constants

TypeBadger is identifier to specify that we want to use Badger as metadata db.
TypeETCD is identifier to specify that we want to use ETCD as metadata db.

# Variables

ErrNotFound is the error returned by a metastor KV database, in case metadata requested couldn't be found.
ErrTimeout is the error returned by a metastor KV database, in case the database timed out.
ErrUnavailable is the error returned by a metastor KV database, in case the database is unavailable.

# Structs

InternalError can be returned by a database as a generic internal error, retaining the actual internal error as part of the returned error.

# Interfaces

DB interface is the interface defining how to interact with a key value store, as ued for metadata storage.

# Type aliases

ListCallback is the type of callback used to process the listed keys.
UpdateCallback is the type of callback used to update the processed (encoded) metadata, which was already stored, previously.