Versions in this module Expand all Collapse all v2 v2.0.1 Jun 2, 2024 Changes in this version + type CacheStoreInterface interface + Delete func(key string) error + Fetch func(key string, fc func() interface{}) (string, error) + Get func(key string) (string, error) + Set func(key string, value interface{}) error + Unmarshal func(key string, object interface{}) error + type RedisStoreInterface interface + DecrBy func(key string, value int64) (int64, error) + Del func(key ...string) error + Delete func(key string) error + Do func(cmd string, key string, seconds string) error + Expire func(key string, seconds time.Duration) (bool, error) + Fetch func(key string, fc func() interface{}) (string, error) + Get func(key string) (string, error) + GetByte func(key string) ([]byte, error) + HDel func(key string, field string) error + HExists func(key string, field string) (bool, error) + HGet func(key string, field string) (string, error) + HGetall func(key string) (map[string]string, error) + HLen func(key string) (int64, error) + HMSet func(key string, fields map[string]interface{}) error + HSet func(key string, field string, value interface{}) error + IncrBy func(key string, value int64) (int64, error) + Keys func(pattern string) ([]string, error) + LIndex func(key string, index int64) (string, error) + LLen func(key string) (int64, error) + LPop func(key string) (string, error) + LPush func(key string, value interface{}) error + LRange func(key string) ([]string, error) + LRem func(key string, value interface{}) error + MGet func(keys []string) ([]interface{}, error) + RPush func(key string, value ...interface{}) error + SAdd func(key string, value ...interface{}) error + SCard func(key string) (int64, error) + SIsMember func(key string, field string) (bool, error) + SMembers func(key string) ([]string, error) + SRandMember func(key string) (string, error) + SRem func(key string, value ...interface{}) error + Scan func(cursor uint64, match string, count int64) ([]string, uint64, error) + Set func(key string, value interface{}) error + SetNX func(key string, value interface{}, lockDuration time.Duration) (bool, error) + Unmarshal func(key string, object interface{}) error + ZAdd func(key string, members ...redis.Z) error + ZRangeWithScores func(key string, start, stop int64) ([]redis.Z, error) Other modules containing this package github.com/conku/cache