# Functions
NewCache creates a new cache from a cache config.
NewDB creates a new database from database config.
NewNilStorer will return a nil storer.
NewStorageCacherAdapter creates a new storageCacherAdapter.
NewStorageUnit is the constructor for the storage unit, creating a new storage unit from the given cacher and persister.
NewStorageUnitFromConf creates a new storage unit from a storage unit config.
# Constants
Shard id provider types that are currently supported.
LRUCache defines a cache identifier with least-recently-used eviction mechanism.
LvlDB represents a levelDB storage identifier.
LvlDBSerial represents a levelDB storage with serialized operations identifier.
MemoryDB represents an in memory storage identifier.
SizeLRUCache defines a cache identifier with least-recently-used eviction mechanism and fixed size in bytes.
# Type aliases
ArgDB is a structure that is used to create a new storage.Persister implementation.
CacheConfig holds the configurable elements of a cache.
CacheType represents the type of the supported caches.
DBConfig holds the configurable elements of a database.
DBType represents the type of the supported databases.
NilStorer resembles a disabled implementation of the Storer interface.
ShardIDProviderType represents the type of the supported shard id providers.
Unit represents a storer's data bank holding the cache and persistence unit.