Versions in this module Expand all Collapse all v2 v2.9.3 Sep 18, 2024 Changes in this version + type Cache struct + func New() *Cache + func NewWithGCThold(gcThold int) *Cache + func (c *Cache) Delete(key string) + func (c *Cache) GC(force bool) + func (c *Cache) Get(key string) (interface{}, bool) + func (c *Cache) Set(key string, value interface{}, expirationParam ...time.Duration)