Versions in this module Expand all Collapse all v2 v2.0.0 Feb 5, 2023 Changes in this version + type Cache struct + func New(options Options) (*Cache, error) + func (mc *Cache) Del(key string) error + func (mc *Cache) Get(key string, dst any) error + func (mc *Cache) GetBytes(key string) ([]byte, error) + func (mc *Cache) Has(key string) bool + func (mc *Cache) Set(key string, val any, ttl time.Duration) error + type Options struct + Encoder encoder.Encoder + Servers []string