Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2021 Changes in this version + type Cache struct + func New(numSegments int, segmentSize int) *Cache + func (c *Cache) Delete(key []byte) bool + func (c *Cache) Get(key []byte, value []byte) (int, bool) + func (c *Cache) GetAccessCount() uint64 + func (c *Cache) GetHitCount() uint64 + func (c *Cache) GetTotal() uint64 + func (c *Cache) Put(key []byte, value []byte)