Versions in this module Expand all Collapse all v1 v1.0.0 Jun 11, 2026 Changes in this version + type Cache struct + func NewCache(interval time.Duration) *Cache + func (c *Cache) Add(key string, data any, expiry time.Duration) + func (c *Cache) Clear() + func (c *Cache) Delete(key string) + func (c *Cache) Get(key string) (any, bool) + func (c *Cache) Stop()