package
0.0.0-20240831194536-2d10c8b25554
Repository: https://github.com/encryptedl/cryptfs.git
Documentation: pkg.go.dev

# Functions

ApplyMessage applies the message to the store.
NewBitcaskStore creates a new store using Bitcask.
NewBlobStore creates a new blob store with the provided delegate store.
NewDiskStore contructs a new Disk backed store.
No description provided by the author
No description provided by the author
No description provided by the author
NewStore constructs a new store from the `store` uri and returns a `Store` interfaces matching the store type in `<type>://...`.
No description provided by the author
No description provided by the author

# Variables

ErrInvalidStore is returned when calling NewStore() with an invalid or unspproted store type.
ErrNotFound indicates a key is not in the store.
ErrStalePut indicates that some client has not see the latest version of the key-value pair being put.

# Structs

BitcaskStore is a bitcask based storege engine.
BlobStoreWrapper wraps a Store to make sure content is never overwritten, by using as key for a value the Blake2b hash of the value.
DiskStore implement Store.
InMemorySTore is a Store implementation powered by map, to be used for Testing or caches.
Paired implements Store wrapping a pair of stores, one fast, one slow.
RemoteStore implement Store.
StoreURI holds configuration parameters for a store parsed from a string such as <type://<host|path>?<param1>=<value1>.
VersionedWrapper is a VersionedStore implementation wraping a given Store implementation.

# Interfaces

BlobStore is the interface for storing and retrieving blogs of data.
STtore represnt a key-value store.
No description provided by the author