Versions in this module Expand all Collapse all v1 v1.0.0 Mar 11, 2026 Changes in this version + func Delete(key string) error + func Get(key string) ([]byte, error) + func InitCache(c ICache) + func InitCacheE(c ICacheE) + func InitCacheM(c ICacheM) + func MDelete(keys ...string) error + func MGet(keys ...string) ([][]byte, error) + func MSet(values map[string][]byte) error + func MSetE(values map[string][]byte, exp time.Duration) error + func Set(key string, value []byte) error + func SetE(key string, value []byte, exp time.Duration) error + type ICache interface + Delete func(key string) error + Get func(key string) ([]byte, error) + Set func(key string, value []byte) error + type ICacheE interface + SetE func(key string, value []byte, exp time.Duration) error + type ICacheM interface + MDelete func(keys ...string) error + MGet func(keys ...string) ([][]byte, error) + MSet func(values map[string][]byte) error + MSetE func(values map[string][]byte, exp time.Duration) error