Versions in this module Expand all Collapse all v1 v1.0.26 Feb 19, 2026 v1.0.25 Feb 19, 2026 Changes in this version + type Cache struct + func (c *Cache) Delete(key string) + func (c *Cache) Get(key string) interface{} + func (c *Cache) GetAndParse(key string, entityPointer interface{}) error + func (c *Cache) GetString(key string) (result string, err error) + func (c *Cache) Set(key string, value interface{}, duration time.Duration) + type ICache interface + Delete func(key string) + Get func(key string) interface{} + GetAndParse func(key string, entityPointer interface{}) error + GetString func(key string) (result string, err error) + Set func(key string, value interface{}, duration time.Duration) + func NewCache() ICache + type Mock struct + func (m *Mock) Delete(_ string) + func (m *Mock) Get(_ string) interface{} + func (m *Mock) GetAndParse(_ string, _ interface{}) error + func (m *Mock) GetString(_ string) (result string, err error) + func (m *Mock) Set(_ string, _ interface{}, _ time.Duration)