# Functions
NewBigcache creates a new store to Bigcache instance(s).
No description provided by the author
NewFreecache creates a new store to freecache instance(s).
NewGoCache creates a new store to GoCache (memory) library instance.
No description provided by the author
NewMemcache creates a new store to Memcache instance(s).
NewPegasus creates a new store to pegasus instance(s).
NewRedis creates a new store to Redis instance(s).
NewRedis creates a new store to Redis instance(s).
NewRistretto creates a new store to Ristretto (memory) library instance.
No description provided by the author
WithCost allows setting the memory capacity used by the item when setting a value.
WithExpiration allows to specify an expiration time when setting a value.
WithInvalidateTags allows setting the invalidate tags.
WithTags allows to specify associated tags to the current value.
# Constants
BigcacheTagPattern represents the tag pattern to be used as a key in specified storage.
BigcacheType represents the storage type as a string value.
No description provided by the author
No description provided by the author
No description provided by the author
EncryptedJSONFileCacheType represents the storage type as encrypted file.
FreecacheTagPattern represents the tag pattern to be used as a key in specified storage.
FreecacheType represents the storage type as a string value.
GoCacheTagPattern represents the tag pattern to be used as a key in specified storage.
GoCacheType represents the storage type as a string value.
JSONFileCachePermission represents file permission.
JSONFileCacheType represents the storage type as file.
MemcacheTagPattern represents the tag pattern to be used as a key in specified storage.
MemcacheType represents the storage type as a string value.
No description provided by the author
No description provided by the author
Pegasus ttl(time-to-live) in seconds: -1 if ttl is not set; -2 if entry doesn't exist.
PegasusTagPattern represents the tag pattern to be used as a key in specified storage.
PegasusType represents the storage type as a string value.
RedisTagPattern represents the tag pattern to be used as a key in specified storage.
RedisType represents the storage type as a string value.
RedisTagPattern represents the tag pattern to be used as a key in specified storage.
RedisType represents the storage type as a string value.
RistrettoTagPattern represents the tag pattern to be used as a key in specified storage.
RistrettoType represents the storage type as a string value.
No description provided by the author
# Structs
BigcacheStore is a store for Bigcache.
No description provided by the author
FreecacheStore is a store for freecache.
GoCacheStore is a store for GoCache (memory) library.
No description provided by the author
JSONFileStore is a thread-unsafe implementation of cache storage in JSON file.
MemcacheStore is a store for Memcache.
No description provided by the author
No description provided by the author
No description provided by the author
OptionsPegasus is options of Pegasus.
PegasusStore is a store for Pegasus.
RedisStore is a store for Redis.
RedisStore is a store for Redis.
RistrettoStore is a store for Ristretto (memory) library.
# Interfaces
BigcacheClientInterface represents a allegro/bigcache client.
No description provided by the author
FreecacheClientInterface represents a coocood/freecache client.
GoCacheClientInterface represents a github.com/patrickmn/go-cache client.
MemcacheClientInterface represents a bradfitz/gomemcache client.
RedisClientInterface represents a go-redis/redis client.
RedisClusterClientInterface represents a go-redis/redis clusclient.
RistrettoClientInterface represents a dgraph-io/ristretto client.
StoreInterface is the interface for all available stores.
# Type aliases
InvalidateOption represents a cache invalidation function.
Options represents a store option function.