Versions in this module Expand all Collapse all v2 v2.9.3 Sep 18, 2024 Changes in this version + func QueryDBWithCache[T any](c *Cache, name string, queryDB func() (T, error)) (T, error) + type Cache struct + func New(conf config.CacheConf) (*Cache, error) + func (c *Cache) DelCache(name ...string) (err error) + func (c *Cache) FindCache(name string, dest any) error + func (c *Cache) StoreCache(source any, name ...string) (err error) + func (cache *Cache) Close()