package
0.1.4
Repository: https://github.com/hyp3rd/hypercache.git
Documentation: pkg.go.dev

# Variables

ErrAlgorithmNotFound is returned when an algorithm is not found.
ErrBackendNotFound is returned when a backend is not found.
ErrCacheFull is returned when the cache is full.
ErrInvalidBackendType is returned when an invalid backend type is passed to the cache.
ErrInvalidCapacity is returned when an invalid capacity is passed to the cache.
ErrInvalidExpiration is returned when an invalid expiration is passed to a cache item.
ErrInvalidKey is returned when an invalid key is used to access an item in the cache.
ErrInvalidMaxCacheSize is returned when an invalid max cache size is passed to the cache.
ErrInvalidSize is returned when an invalid size is passed to the cache.
ErrKeyExpired is returned when a key is found in the cache but has expired.
ErrKeyNotFound is returned when a key is not found in the cache.
ErrNilClient is returned when a nil client is passed to the cache.
ErrNilValue is returned when a nil value is attempted to be set in the cache.
ErrParamCannotBeEmpty is returned when a parameter cannot be empty.
ErrSerializerNotFound is returned when a serializer is not found.
ErrStatsCollectorNotFound is returned when an algorithm is not found.
ErrTimeoutOrCanceled is returned when a timeout or cancellation occurs.