Versions in this module Expand all Collapse all v1 v1.0.0 Jul 30, 2020 Changes in this version + type Cache struct + func NewCache() *Cache + func (c *Cache) Clear(i int) int + func (c *Cache) Len() int + func (c *Cache) Touch(key schema.Key) bool + type KeyCache struct + func NewKeyCache(clearInterval time.Duration) *KeyCache + func (k *KeyCache) Len() int + func (k *KeyCache) Touch(key schema.MKey) bool + type Shard struct + func NewShard() Shard + func (s *Shard) Len() int + func (s *Shard) Reset() + func (s *Shard) Touch(key schema.Key) bool + type SubKey [15]byte