# Functions
NewBackground returns a new Cache that does stores on background goroutines.
NewMemcached makes a new Memcached.
NewMemcachedClient creates a new MemcacheClient that gets its server list from SRV and updates the server list on a regular basis.
NewMockCache makes a new MockCache.
NewRedisCache creates a new RedisCache.
NewRedisClient creates Redis client.
StringToBytes converts string to byte slice.
# Constants
No description provided by the author
No description provided by the author
individual roles.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BackgroundConfig is config for a Background Cache.
Memcached type caches chunks in memcached.
MemcachedClientConfig defines how a MemcachedClient should be constructed.
MemcachedConfig is config to make a Memcached.
MemcachedJumpHashSelector implements the memcache.ServerSelector interface.
RedisCache type caches chunks in redis.
No description provided by the author
RedisConfig defines how a RedisCache should be constructed.
# Interfaces
Cache byte arrays by key.
MemcachedClient interface exists for mocking memcacheClient.
Provider is an object that can return a cache for a requested role.
# Type aliases
No description provided by the author