Documentation ¶ Index ¶ Constants func DefaultConfig(ts ...time.Duration) bigcache.Config type Cache func New(configs ...bigcache.Config) (*Cache, error) func (c *Cache) Get(key string, entry interface{}) error func (c *Cache) Set(key string, entry interface{}) error Constants ¶ View Source const ( DefaultLifeWindow = 1 * time.Hour DefaultCleanWindow = 10 * time.Minute ) Variables ¶ This section is empty. Functions ¶ func DefaultConfig ¶ func DefaultConfig(ts ...time.Duration) bigcache.Config Types ¶ type Cache ¶ type Cache struct { *bigcache.BigCache } func New ¶ func New(configs ...bigcache.Config) (*Cache, error) func (*Cache) Get ¶ func (c *Cache) Get(key string, entry interface{}) error func (*Cache) Set ¶ func (c *Cache) Set(key string, entry interface{}) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.