Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + type Cache struct + OnEvicted func(key Key, value interface{}) + func New(maxEntries int) *Cache + func (c *Cache) Add(key Key, value interface{}) + func (c *Cache) Get(key Key) (value interface{}, ok bool) + func (c *Cache) Len() int + type Key interface