Versions in this module Expand all Collapse all v1 v1.1.0 Apr 19, 2026 Changes in this version + type CacheBucket interface + Clear func() + Delete func() + Docs func(keys []string) []CacheDoc + Filter func(labelFilters ...[]string) []string + GetLastErrors func() []error + Name func() string + Remove func(keys []string) []CacheDoc + Scan func(match string) []string + Update func(key string, data any) CacheDoc + UpdateWithTs func(key string, data any, ts time.Time) (CacheDoc, bool) + Values func(keys []string) []any + type CacheClient interface + Bucket func(name string) CacheBucket + Buckets func() []CacheBucket + Collection func(name string) CacheCollection + Collections func() []CacheCollection + RemoveBucket func(bktName string) + RemoveCollection func(name string) + WithBucket func(CacheBucket) CacheBucket + type CacheCollection interface + Add func(key string, members []string) + Clear func(key string) + ClearAll func() + Delete func() + GetLastErrors func() []error + Keys func() []string + MembersMap func(key string) MembersMap + MembersMaps func(keys []string) []MembersMap + Name func() string + Remove func(key string, members []string) + type CacheDoc interface + AddLabels func(labels []string) LabelSet + Delete func() + Key func() string + Labels func() LabelSet + RemoveLabels func(label []string) LabelSet + SetValue func(val any) CacheDoc + Val func() any + type CacheExpire interface + Expire func(d time.Duration, onExpire func(CacheDoc)) + type CacheTime interface + SetValueWithTs func(val any, ts time.Time) (CacheDoc, bool) + Time func() time.Time + WithTime func(ts time.Time) CacheDoc + type Coder interface + type Decoder interface + Decode func(data string, out any) error + type Encoder interface + Encode func(data any) (string, error) + type LabelSet map[string]bool + func (ls LabelSet) CheckAnd(labels []string) bool + func (ls LabelSet) CheckOr(labels []string) bool + func (ls LabelSet) Copy() LabelSet + func (ls LabelSet) Format() string + func (ls LabelSet) From(labels []string) LabelSet + func (ls LabelSet) FromStr(labels string) LabelSet + func (ls LabelSet) List() []string + type Logger interface + Debug func(msg string, keysAndValues ...any) + Error func(msg string, keysAndValues ...any) + Fatal func(msg string, keysAndValues ...any) + Info func(msg string, keysAndValues ...any) + type MembersMap map[string]struct + func (smm MembersMap) Exists(mem string) bool + func (smm MembersMap) List() []string