Versions in this module Expand all Collapse all v1 v1.11.1 Mar 21, 2024 Changes in this version + func Hash(what []byte) uint64 + type Cache struct + func New(size int) *Cache + func (c *Cache) Add(key uint64, el interface{}) bool + func (c *Cache) Get(key uint64) (interface{}, bool) + func (c *Cache) Len() int + func (c *Cache) Remove(key uint64) + func (c *Cache) Walk(f func(map[uint64]interface{}, uint64) bool)