Versions in this module Expand all Collapse all v0 v0.7.5 Aug 14, 2025 v0.0.3 Aug 14, 2025 Changes in this version + type Cache struct + func NewCache(cleanupInterval time.Duration) *Cache + func (c *Cache) Get(key string) *Item + func (c *Cache) Set(key string, item *Item) + type Item struct + func NewItem(v interface{}, d time.Duration) *Item + func (p *Item) Expired() bool + func (p *Item) Value() interface{}