Versions in this module Expand all Collapse all v1 v1.0.0 Jan 21, 2020 Changes in this version + type Cache struct + func NewCache(capacity uint64) *Cache + func (c *Cache) Get(key interface{}) (cache.Value, error) + func (c *Cache) Len() int + func (c *Cache) Put(key interface{}, value cache.Value) (bool, error)