Versions in this module Expand all Collapse all v0 v0.0.2 Jul 14, 2023 v0.0.1 May 31, 2023 Changes in this version + func New(opts ...CacheOptions) cache.Cache + type Cache struct + Memcache *memcache.Client + func (m *Cache) Clear() error + func (m *Cache) Decrement(key string, step int) error + func (m *Cache) Delete(key string) error + func (m *Cache) Get(key string) (any, error) + func (m *Cache) GetMulti(keys []string) ([]any, error) + func (m *Cache) Has(key string) (bool, error) + func (m *Cache) Increment(key string, step int) error + func (m *Cache) Name() string + func (m *Cache) Set(key string, value any, ttl time.Duration) error + type CacheOptions func(c *Cache) + func CacheWithMemcacheClient(memcache *memcache.Client) CacheOptions