Versions in this module Expand all Collapse all v0 v0.28.2 Nov 14, 2026 v0.28.1 Nov 14, 2026 Changes in this version + func NewMemoryCache(opts Options) cache.Cache + func NewRedisCache(opts RedisOptions) cache.Cache + type EvictionPolicy string + const EvictLRU + const EvictOldest + type Options struct + CleanupInterval time.Duration + DefaultTTL time.Duration + Eviction EvictionPolicy + Logger logger.Logger + MaxBytes int64 + MaxSize int + type RedisOptions struct + Addr string + DB int + DefaultTTL time.Duration + KeyPrefix string + Logger logger.Logger + Password string + Username string