Versions in this module Expand all Collapse all v2 v2.3.3 Oct 19, 2023 Changes in this version + type Cache struct + func New(maxEntries int) *Cache + func (c *Cache) Add(key lru.Key, value interface{}) + func (c *Cache) Clear() + func (c *Cache) Get(key lru.Key) (value interface{}, ok bool) + func (c *Cache) Len() int + func (c *Cache) Remove(key lru.Key) + func (c *Cache) RemoveOldest()