Documentation ¶
Index ¶
- Variables
- func AnyDo(name string, expiration time.Duration) int
- func DayDo(name string) int
- func DecrBy(key string, value int64) (int64, error)
- func Del(keys ...string) *redis.IntCmd
- func Expire(key string, expiration time.Duration) *redis.BoolCmd
- func Get(key string) *redis.StringCmd
- func GetCacheKey(key string) string
- func GetPrefix() string
- func GetRedis() *redis.Ring
- func Has(key string) bool
- func HourDo(name string) int
- func IncrBy(key string, value int64) (int64, error)
- func IncrByFloat(key string, value float64) (float64, error)
- func JsonGet(key string, paths ...string) *redis.JSONCmd
- func JsonSet(key string, value any, expiration time.Duration) *redis.StatusCmd
- func MonthDo(name string) int
- func Prefix(key string)
- func Set(key string, value any, expiration time.Duration) *redis.StatusCmd
- func TTL(key string) *redis.DurationCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisNil = redis.Nil
RedisNil is redis nil
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.