# Functions
HashKey hashes key into something you can store in memcached.
Instrument returns an instrumented cache.
New creates a new Cache using Config.
NewBackground returns a new Cache that does stores on background goroutines.
NewFifoCache returns a new initialised FifoCache of size.
NewMemcached makes a new Memcache.
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.
NewSnappy makes a new snappy encoding cache wrapper.
NewTiered makes a new tiered cache.
StopOnce wraps a Cache and ensures its only stopped once.
# Structs
BackgroundConfig is config for a Background Cache.
Config for building Caches.
FifoCache is a simple string -> interface{} cache which uses a fifo slide to manage evictions.
FifoCacheConfig holds config for the FifoCache.
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.
RedisConfig defines how a RedisCache should be constructed.
# Interfaces
Cache byte arrays by key.
MemcachedClient interface exists for mocking memcacheClient.