Versions in this module Expand all Collapse all v1 v1.18.0 Aug 11, 2023 v1.9.9 Oct 24, 2023 Changes in this version + type ICache interface + Exists func(key string) bool + IsCacheDisabled func() bool + List func() ([]string, error) + Load func(key string) (string, error) + Store func(key string, data string) error + func New(noCache bool) ICache + func NewMemCache(noCache bool) ICache + type MemCache struct + func (s *MemCache) Exists(key string) bool + func (s *MemCache) IsCacheDisabled() bool + func (s *MemCache) List() ([]string, error) + func (s *MemCache) Load(key string) (string, error) + func (s *MemCache) Store(key string, data string) error + type RedisCache struct + func NewRedisCache(db int) *RedisCache + func (c *RedisCache) Delete(key string) error + func (c *RedisCache) Exists(key string) (bool, error) + func (c *RedisCache) GetString(key string) (string, error) + func (c *RedisCache) Write(key, val string, ttl time.Duration) error Other modules containing this package github.com/koderover/zadig/v2