# Functions
NewGroupcache creates a new Groupcache instance.
NewGroupcacheWithConfig creates a new Groupcache instance with the given config.
NewInMemoryCache creates a new thread-safe LRU cache and ensures the total cache size approximately does not exceed maxBytes.
NewInMemoryCacheWithConfig creates a new thread-safe LRU cache and ensures the total cache size approximately does not exceed maxBytes.
NewMemcachedCache makes a new MemcachedCache.
NewRedisCache makes a new RedisCache.
RegisterCacheStatsCollector registers a groupcache metrics collector.
# Structs
CachingBucketConfig contains low-level configuration for individual bucket operations.
GroupcacheConfig holds the in-memory cache config.
InMemoryCacheConfig holds the in-memory cache config.
Operation-specific configs.
MemcachedCache is a memcached-based cache.
Generic config for single operation.
RedisCache is a redis cache.
TracingCache includes Fetch operation in the traces.