Versions in this module Expand all Collapse all v0 v0.0.11 Feb 5, 2024 Changes in this version + const NoExpiration + type CoolCache struct + func NewCoolCache(shardNumber int, defaultExpiration, cleanupInterval time.Duration) *CoolCache + func (c *CoolCache) Get(key string) (interface{}, bool) + func (c *CoolCache) Set(key string, value interface{}, d time.Duration) + func (c *CoolCache) Sum64(key string) uint64