Versions in this module Expand all Collapse all v1 v1.1.0 Aug 1, 2023 Changes in this version + var RedisCache cache.Cache + func BLPop(key string, timeout int64) []string + func BRPop(key string, timeout int64) []string + func BRPopLPush(source, destination string, timeout int64) string + func Decr(key string) (int64, error) + func DecrBy(key string, increment int64) (int64, error) + func Del(key string) bool + func Dump(key string) string + func Exists(key string) bool + func Expire(key string, expiration int64) bool + func ExpireAt(key string, timestamp time.Time) bool + func Get(key string) string + func HDel(key string, fields []string) bool + func HExists(key, field string) bool + func HGet(key, field string) string + func HGetAll(key string) map[string]string + func HIncrBy(key, field string, incr int64) (int64, error) + func HKeys(key string) []string + func HLen(key string) int64 + func HMGetMap(key string, fields []string) map[string]interface + func HMSet(key string, fieldValues map[string]interface{}) bool + func HSet(key, field string, value interface{}) bool + func Incr(key string) (int64, error) + func IncrBy(key string, increment int64) (int64, error) + func IsExistTable(tableName string, databaseName string) bool + func Keys(pattern string) []string + func LIndex(key string, index int64) string + func LInsert(key, where, pivot, value string) (int64, error) + func LLen(key string) int64 + func LPop(key string) string + func LPush(key, value string) (int64, error) + func LPushX(key, value string) (int64, error) + func LRange(key string, start, stop int64) []string + func LRem(key string, count int64, value string) bool + func LSet(key string, index int64, value string) bool + func MGetMap(keys []string) map[string]interface + func MSet(keyValues map[string]interface{}) bool + func MSetNX(keyValues map[string]interface{}) bool + func Move(key string, db int) bool + func PExpire(key string, timeout time.Duration) bool + func PExpireAt(key string, timestamp time.Time) bool + func PTTL(key string) time.Duration + func Persist(key string) bool + func RPop(key string) string + func RPopLPush(source, destination string, timeout int64) string + func RPush(key, value string) (int64, error) + func RPushX(key, value string) (int64, error) + func Rename(key, newKey string) bool + func RenameNX(key, newKey string) bool + func Restore(key string, ttl int64, value string) string + func SAdd(key string, members []string) (int64, error) + func SCard(key string) int64 + func SDiff(keys []string) []string + func SDiffStore(destination string, keys []string) bool + func SInter(keys []string) []string + func SInterStore(destination string, keys []string) bool + func SIsMember(key string, member string) bool + func SMembers(key string) []string + func SMove(key, destination, member string) bool + func SRem(key string, members []interface{}) bool + func SUnion(keys []string) []string + func SUnionStore(destination string, keys []string) bool + func Set(key string, value interface{}, expiration int64) bool + func SetNX(key string, value interface{}, expiration int64) bool + func StrLen(key string) int64 + func TTL(key string) int64 + func Type(key string) string + func ZAdd(key string, members map[interface{}]int64) bool + func ZCard(key string) int64 + func ZCount(key, min, max string) int64 + func ZIncrBy(key string, increment int64, member string) (int64, error) + func ZRange(key string, start, stop int64) []string + func ZRangeByScore(key string, opt *redis.ZRangeBy) []string + func ZRank(key, member string) int64 + func ZRem(key string, members []string) bool + func ZRemRangeByRank(key string, start, stop int64) bool + func ZRemRangeByScore(key, min, max string) bool + func ZRevRange(key string, start, stop int64) []string + func ZRevRangeByLex(key string, opt *redis.ZRangeBy) []string + func ZRevRangeByScore(key string, opt *redis.ZRangeBy) []string + func ZRevRangeByScoreWithScores(key string, opt *redis.ZRangeBy) []redis.Z + func ZRevRangeWithScores(key string, start, stop int64) []redis.Z + func ZRevRank(key, member string) int64 + func ZScore(key, member string) int64 + type Mysql struct + Id int + Ng string + Pre string + Ser string + Th string