Documentation ¶
Index ¶
- Constants
- func InitRedisCTL(config *Config)
- func UpdateRedisCTL(config *Config)
- type Config
- type RedisController
- func (ctl *RedisController) Append(key, value string) *redis.IntCmd
- func (ctl *RedisController) BLPop(timeout time.Duration, keys ...string) *redis.StringSliceCmd
- func (ctl *RedisController) BRPop(timeout time.Duration, keys ...string) *redis.StringSliceCmd
- func (ctl *RedisController) BRPopLPush(source, destination string, timeout time.Duration) *redis.StringCmd
- func (ctl *RedisController) BZPopMax(timeout time.Duration, keys ...string) *redis.ZWithKeyCmd
- func (ctl *RedisController) BZPopMin(timeout time.Duration, keys ...string) *redis.ZWithKeyCmd
- func (ctl *RedisController) BgRewriteAOF() *redis.StatusCmd
- func (ctl *RedisController) BgSave() *redis.StatusCmd
- func (ctl *RedisController) BitCount(key string, bitCount *redis.BitCount) *redis.IntCmd
- func (ctl *RedisController) BitOpAnd(destKey string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) BitOpNot(destKey string, key string) *redis.IntCmd
- func (ctl *RedisController) BitOpOr(destKey string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) BitOpXor(destKey string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) BitPos(key string, bit int64, pos ...int64) *redis.IntCmd
- func (ctl *RedisController) ClientGetName() *redis.StringCmd
- func (ctl *RedisController) ClientID() *redis.IntCmd
- func (ctl *RedisController) ClientKill(ipPort string) *redis.StatusCmd
- func (ctl *RedisController) ClientKillByFilter(keys ...string) *redis.IntCmd
- func (ctl *RedisController) ClientList() *redis.StringCmd
- func (ctl *RedisController) ClientPause(dur time.Duration) *redis.BoolCmd
- func (ctl *RedisController) ClusterAddSlots(slots ...int) *redis.StatusCmd
- func (ctl *RedisController) ClusterAddSlotsRange(min, max int) *redis.StatusCmd
- func (ctl *RedisController) ClusterCountFailureReports(nodeID string) *redis.IntCmd
- func (ctl *RedisController) ClusterCountKeysInSlot(slot int) *redis.IntCmd
- func (ctl *RedisController) ClusterDelSlots(slots ...int) *redis.StatusCmd
- func (ctl *RedisController) ClusterDelSlotsRange(min, max int) *redis.StatusCmd
- func (ctl *RedisController) ClusterFailover() *redis.StatusCmd
- func (ctl *RedisController) ClusterForget(nodeID string) *redis.StatusCmd
- func (ctl *RedisController) ClusterGetKeysInSlot(slot int, count int) *redis.StringSliceCmd
- func (ctl *RedisController) ClusterInfo() *redis.StringCmd
- func (ctl *RedisController) ClusterKeySlot(key string) *redis.IntCmd
- func (ctl *RedisController) ClusterMeet(host, port string) *redis.StatusCmd
- func (ctl *RedisController) ClusterNodes() *redis.StringCmd
- func (ctl *RedisController) ClusterReplicate(nodeID string) *redis.StatusCmd
- func (ctl *RedisController) ClusterResetHard() *redis.StatusCmd
- func (ctl *RedisController) ClusterResetSoft() *redis.StatusCmd
- func (ctl *RedisController) ClusterSaveConfig() *redis.StatusCmd
- func (ctl *RedisController) ClusterSlaves(nodeID string) *redis.StringSliceCmd
- func (ctl *RedisController) ClusterSlots() *redis.ClusterSlotsCmd
- func (ctl *RedisController) Command() *redis.CommandsInfoCmd
- func (ctl *RedisController) ConfigGet(parameter string) *redis.MapStringStringCmd
- func (ctl *RedisController) ConfigResetStat() *redis.StatusCmd
- func (ctl *RedisController) ConfigRewrite() *redis.StatusCmd
- func (ctl *RedisController) ConfigSet(parameter, value string) *redis.StatusCmd
- func (ctl *RedisController) DBSize() *redis.IntCmd
- func (ctl *RedisController) DebugObject(key string) *redis.StringCmd
- func (ctl *RedisController) Decr(key string) *redis.IntCmd
- func (ctl *RedisController) DecrBy(key string, decrement int64) *redis.IntCmd
- func (ctl *RedisController) Del(keys ...string) *redis.IntCmd
- func (ctl *RedisController) Dump(key string) *redis.StringCmd
- func (ctl *RedisController) Echo(message interface{}) *redis.StringCmd
- func (ctl *RedisController) Eval(script string, keys []string, args ...interface{}) *redis.Cmd
- func (ctl *RedisController) EvalSha(sha1 string, keys []string, args ...interface{}) *redis.Cmd
- func (ctl *RedisController) Exists(keys ...string) *redis.IntCmd
- func (ctl *RedisController) Expire(key string, expiration time.Duration) *redis.BoolCmd
- func (ctl *RedisController) ExpireAt(key string, tm time.Time) *redis.BoolCmd
- func (ctl *RedisController) FlushAll() *redis.StatusCmd
- func (ctl *RedisController) FlushAllAsync() *redis.StatusCmd
- func (ctl *RedisController) FlushDB() *redis.StatusCmd
- func (ctl *RedisController) FlushDBAsync() *redis.StatusCmd
- func (ctl *RedisController) GeoAdd(key string, geoLocation ...*redis.GeoLocation) *redis.IntCmd
- func (ctl *RedisController) GeoDist(key string, member1, member2, unit string) *redis.FloatCmd
- func (ctl *RedisController) GeoHash(key string, members ...string) *redis.StringSliceCmd
- func (ctl *RedisController) GeoPos(key string, members ...string) *redis.GeoPosCmd
- func (ctl *RedisController) GeoRadius(key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd
- func (ctl *RedisController) GeoRadiusByMember(key, member string, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd
- func (ctl *RedisController) GeoRadiusByMemberRO(key, member string, query *redis.GeoRadiusQuery) *redis.IntCmd
- func (ctl *RedisController) GeoRadiusStore(key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.IntCmd
- func (ctl *RedisController) Get(key string) *redis.StringCmd
- func (ctl *RedisController) GetBit(key string, offset int64) *redis.IntCmd
- func (ctl *RedisController) GetConfig() *Config
- func (ctl *RedisController) GetRange(key string, start, end int64) *redis.StringCmd
- func (ctl *RedisController) GetSet(key string, value interface{}) *redis.StringCmd
- func (ctl *RedisController) HDel(key string, fields ...string) *redis.IntCmd
- func (ctl *RedisController) HExists(key, field string) *redis.BoolCmd
- func (ctl *RedisController) HGet(key, field string) *redis.StringCmd
- func (ctl *RedisController) HGetAll(key string) *redis.MapStringStringCmd
- func (ctl *RedisController) HIncrBy(key, field string, incr int64) *redis.IntCmd
- func (ctl *RedisController) HIncrByFloat(key, field string, incr float64) *redis.FloatCmd
- func (ctl *RedisController) HKeys(key string) *redis.StringSliceCmd
- func (ctl *RedisController) HLen(key string) *redis.IntCmd
- func (ctl *RedisController) HMGet(key string, fields ...string) *redis.SliceCmd
- func (ctl *RedisController) HMSet(key string, values ...interface{}) *redis.BoolCmd
- func (ctl *RedisController) HScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
- func (ctl *RedisController) HSet(key string, values ...interface{}) *redis.IntCmd
- func (ctl *RedisController) HSetNX(key, field string, value interface{}) *redis.BoolCmd
- func (ctl *RedisController) HVals(key string) *redis.StringSliceCmd
- func (ctl *RedisController) Incr(key string) *redis.IntCmd
- func (ctl *RedisController) IncrBy(key string, value int64) *redis.IntCmd
- func (ctl *RedisController) IncrByFloat(key string, value float64) *redis.FloatCmd
- func (ctl *RedisController) Info(section ...string) *redis.StringCmd
- func (ctl *RedisController) Keys(pattern string) *redis.StringSliceCmd
- func (ctl *RedisController) LIndex(key string, index int64) *redis.StringCmd
- func (ctl *RedisController) LInsert(key, op string, pivot, value interface{}) *redis.IntCmd
- func (ctl *RedisController) LInsertAfter(key string, pivot, value interface{}) *redis.IntCmd
- func (ctl *RedisController) LInsertBefore(key string, pivot, value interface{}) *redis.IntCmd
- func (ctl *RedisController) LLen(key string) *redis.IntCmd
- func (ctl *RedisController) LPop(key string) *redis.StringCmd
- func (ctl *RedisController) LPush(key string, values ...interface{}) *redis.IntCmd
- func (ctl *RedisController) LPushX(key string, value interface{}) *redis.IntCmd
- func (ctl *RedisController) LRange(key string, start, stop int64) *redis.StringSliceCmd
- func (ctl *RedisController) LRem(key string, count int64, value interface{}) *redis.IntCmd
- func (ctl *RedisController) LSet(key string, index int64, value interface{}) *redis.StatusCmd
- func (ctl *RedisController) LTrim(key string, start, stop int64) *redis.StatusCmd
- func (ctl *RedisController) LastSave() *redis.IntCmd
- func (ctl *RedisController) MGet(keys ...string) *redis.SliceCmd
- func (ctl *RedisController) MSet(pairs ...interface{}) *redis.StatusCmd
- func (ctl *RedisController) MSetNX(pairs ...interface{}) *redis.BoolCmd
- func (ctl *RedisController) MemoryUsage(key string, samples ...int) *redis.IntCmd
- func (ctl *RedisController) Migrate(host, port, key string, db int, timeout time.Duration) *redis.StatusCmd
- func (ctl *RedisController) Move(key string, db int) *redis.BoolCmd
- func (ctl *RedisController) ObjectEncoding(key string) *redis.StringCmd
- func (ctl *RedisController) ObjectIdleTime(key string) *redis.DurationCmd
- func (ctl *RedisController) ObjectRefCount(key string) *redis.IntCmd
- func (ctl *RedisController) PExpire(key string, expiration time.Duration) *redis.BoolCmd
- func (ctl *RedisController) PExpireAt(key string, tm time.Time) *redis.BoolCmd
- func (ctl *RedisController) PFAdd(key string, els ...interface{}) *redis.IntCmd
- func (ctl *RedisController) PFCount(keys ...string) *redis.IntCmd
- func (ctl *RedisController) PFMerge(dest string, keys ...string) *redis.StatusCmd
- func (ctl *RedisController) PTTL(key string) *redis.DurationCmd
- func (ctl *RedisController) Persist(key string) *redis.BoolCmd
- func (ctl *RedisController) Ping() *redis.StatusCmd
- func (ctl *RedisController) Pipeline() redis.Pipeliner
- func (ctl *RedisController) Pipelined(f func(redis.Pipeliner) error) ([]redis.Cmder, error)
- func (ctl *RedisController) PubSubChannels(pattern string) *redis.StringSliceCmd
- func (ctl *RedisController) PubSubNumPat() *redis.IntCmd
- func (ctl *RedisController) PubSubNumSub(channels ...string) *redis.MapStringIntCmd
- func (ctl *RedisController) Publish(channel string, message interface{}) *redis.IntCmd
- func (ctl *RedisController) Quit() *redis.StatusCmd
- func (ctl *RedisController) RPop(key string) *redis.StringCmd
- func (ctl *RedisController) RPopLPush(source, destination string) *redis.StringCmd
- func (ctl *RedisController) RPush(key string, values ...interface{}) *redis.IntCmd
- func (ctl *RedisController) RPushX(key string, value interface{}) *redis.IntCmd
- func (ctl *RedisController) RandomKey() *redis.StringCmd
- func (ctl *RedisController) ReadOnly() *redis.StatusCmd
- func (ctl *RedisController) ReadWrite() *redis.StatusCmd
- func (ctl *RedisController) Rename(key, newkey string) *redis.StatusCmd
- func (ctl *RedisController) RenameNX(key, newkey string) *redis.BoolCmd
- func (ctl *RedisController) Restore(key string, ttl time.Duration, value string) *redis.StatusCmd
- func (ctl *RedisController) RestoreReplace(key string, ttl time.Duration, value string) *redis.StatusCmd
- func (ctl *RedisController) SAdd(key string, members ...interface{}) *redis.IntCmd
- func (ctl *RedisController) SCard(key string) *redis.IntCmd
- func (ctl *RedisController) SDiff(keys ...string) *redis.StringSliceCmd
- func (ctl *RedisController) SDiffStore(destination string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) SInter(keys ...string) *redis.StringSliceCmd
- func (ctl *RedisController) SInterStore(destination string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) SIsMember(key string, member interface{}) *redis.BoolCmd
- func (ctl *RedisController) SMembers(key string) *redis.StringSliceCmd
- func (ctl *RedisController) SMembersMap(key string) *redis.StringStructMapCmd
- func (ctl *RedisController) SMove(source, destination string, member interface{}) *redis.BoolCmd
- func (ctl *RedisController) SPop(key string) *redis.StringCmd
- func (ctl *RedisController) SPopN(key string, count int64) *redis.StringSliceCmd
- func (ctl *RedisController) SRandMember(key string) *redis.StringCmd
- func (ctl *RedisController) SRandMemberN(key string, count int64) *redis.StringSliceCmd
- func (ctl *RedisController) SRem(key string, members ...interface{}) *redis.IntCmd
- func (ctl *RedisController) SScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
- func (ctl *RedisController) SUnion(keys ...string) *redis.StringSliceCmd
- func (ctl *RedisController) SUnionStore(destination string, keys ...string) *redis.IntCmd
- func (ctl *RedisController) Save() *redis.StatusCmd
- func (ctl *RedisController) Scan(cursor uint64, match string, count int64) *redis.ScanCmd
- func (ctl *RedisController) ScriptExists(hashes ...string) *redis.BoolSliceCmd
- func (ctl *RedisController) ScriptFlush() *redis.StatusCmd
- func (ctl *RedisController) ScriptKill() *redis.StatusCmd
- func (ctl *RedisController) ScriptLoad(script string) *redis.StringCmd
- func (ctl *RedisController) Set(key string, value interface{}, expiration time.Duration) *redis.StatusCmd
- func (ctl *RedisController) SetBit(key string, offset int64, value int) *redis.IntCmd
- func (ctl *RedisController) SetNX(key string, value interface{}, expiration time.Duration) *redis.BoolCmd
- func (ctl *RedisController) SetRange(key string, offset int64, value string) *redis.IntCmd
- func (ctl *RedisController) SetXX(key string, value interface{}, expiration time.Duration) *redis.BoolCmd
- func (ctl *RedisController) Shutdown() *redis.StatusCmd
- func (ctl *RedisController) ShutdownNoSave() *redis.StatusCmd
- func (ctl *RedisController) ShutdownSave() *redis.StatusCmd
- func (ctl *RedisController) SlaveOf(host, port string) *redis.StatusCmd
- func (ctl *RedisController) Sort(key string, sort *redis.Sort) *redis.StringSliceCmd
- func (ctl *RedisController) SortInterfaces(key string, sort *redis.Sort) *redis.SliceCmd
- func (ctl *RedisController) SortStore(key, store string, sort *redis.Sort) *redis.IntCmd
- func (ctl *RedisController) StrLen(key string) *redis.IntCmd
- func (ctl *RedisController) TTL(key string) *redis.DurationCmd
- func (ctl *RedisController) Time() *redis.TimeCmd
- func (ctl *RedisController) Touch(keys ...string) *redis.IntCmd
- func (ctl *RedisController) TxPipeline() redis.Pipeliner
- func (ctl *RedisController) TxPipelined(f func(redis.Pipeliner) error) ([]redis.Cmder, error)
- func (ctl *RedisController) Type(key string) *redis.StatusCmd
- func (ctl *RedisController) Unlink(keys ...string) *redis.IntCmd
- func (ctl *RedisController) XAck(stream, group string, ids ...string) *redis.IntCmd
- func (ctl *RedisController) XAdd(a *redis.XAddArgs) *redis.StringCmd
- func (ctl *RedisController) XClaim(a *redis.XClaimArgs) *redis.XMessageSliceCmd
- func (ctl *RedisController) XClaimJustID(a *redis.XClaimArgs) *redis.StringSliceCmd
- func (ctl *RedisController) XDel(stream string, ids ...string) *redis.IntCmd
- func (ctl *RedisController) XGroupCreate(stream, group, start string) *redis.StatusCmd
- func (ctl *RedisController) XGroupCreateMkStream(stream, group, start string) *redis.StatusCmd
- func (ctl *RedisController) XGroupDelConsumer(stream, group, consumer string) *redis.IntCmd
- func (ctl *RedisController) XGroupDestroy(stream, group string) *redis.IntCmd
- func (ctl *RedisController) XGroupSetID(stream, group, start string) *redis.StatusCmd
- func (ctl *RedisController) XLen(stream string) *redis.IntCmd
- func (ctl *RedisController) XPending(stream, group string) *redis.XPendingCmd
- func (ctl *RedisController) XPendingExt(a *redis.XPendingExtArgs) *redis.XPendingExtCmd
- func (ctl *RedisController) XRange(stream, start, stop string) *redis.XMessageSliceCmd
- func (ctl *RedisController) XRangeN(stream, start, stop string, count int64) *redis.XMessageSliceCmd
- func (ctl *RedisController) XRead(a *redis.XReadArgs) *redis.XStreamSliceCmd
- func (ctl *RedisController) XReadGroup(a *redis.XReadGroupArgs) *redis.XStreamSliceCmd
- func (ctl *RedisController) XReadStreams(streams ...string) *redis.XStreamSliceCmd
- func (ctl *RedisController) XRevRange(stream string, start, stop string) *redis.XMessageSliceCmd
- func (ctl *RedisController) XRevRangeN(stream string, start, stop string, count int64) *redis.XMessageSliceCmd
- func (ctl *RedisController) ZAdd(key string, members ...redis.Z) *redis.IntCmd
- func (ctl *RedisController) ZAddNX(key string, members ...redis.Z) *redis.IntCmd
- func (ctl *RedisController) ZAddXX(key string, members ...redis.Z) *redis.IntCmd
- func (ctl *RedisController) ZCard(key string) *redis.IntCmd
- func (ctl *RedisController) ZCount(key, min, max string) *redis.IntCmd
- func (ctl *RedisController) ZIncrBy(key string, increment float64, member string) *redis.FloatCmd
- func (ctl *RedisController) ZInterStore(destination string, store *redis.ZStore) *redis.IntCmd
- func (ctl *RedisController) ZLexCount(key, min, max string) *redis.IntCmd
- func (ctl *RedisController) ZPopMax(key string, count ...int64) *redis.ZSliceCmd
- func (ctl *RedisController) ZPopMin(key string, count ...int64) *redis.ZSliceCmd
- func (ctl *RedisController) ZRange(key string, start, stop int64) *redis.StringSliceCmd
- func (ctl *RedisController) ZRangeByLex(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
- func (ctl *RedisController) ZRangeByScore(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
- func (ctl *RedisController) ZRangeByScoreWithScores(key string, opt *redis.ZRangeBy) *redis.ZSliceCmd
- func (ctl *RedisController) ZRangeWithScores(key string, start, stop int64) *redis.ZSliceCmd
- func (ctl *RedisController) ZRank(key, member string) *redis.IntCmd
- func (ctl *RedisController) ZRem(key string, members ...interface{}) *redis.IntCmd
- func (ctl *RedisController) ZRemRangeByLex(key, min, max string) *redis.IntCmd
- func (ctl *RedisController) ZRemRangeByRank(key string, start, stop int64) *redis.IntCmd
- func (ctl *RedisController) ZRemRangeByScore(key, min, max string) *redis.IntCmd
- func (ctl *RedisController) ZRevRange(key string, start, stop int64) *redis.StringSliceCmd
- func (ctl *RedisController) ZRevRangeByLex(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
- func (ctl *RedisController) ZRevRangeByScore(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
- func (ctl *RedisController) ZRevRangeByScoreWithScores(key string, opt *redis.ZRangeBy) *redis.ZSliceCmd
- func (ctl *RedisController) ZRevRangeWithScores(key string, start, stop int64) *redis.ZSliceCmd
- func (ctl *RedisController) ZRevRank(key, member string) *redis.IntCmd
- func (ctl *RedisController) ZScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
- func (ctl *RedisController) ZScore(key, member string) *redis.FloatCmd
- func (ctl *RedisController) ZUnionStore(dest string, store *redis.ZStore) *redis.IntCmd
Constants ¶
View Source
const ( StandAlone = iota // 单机 Cluster // 集群 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Mode int `json:"mode" yaml:"mode" nacos:"redis.mode"` // 模式(0-单机;1-集群) Host string `json:"host" yaml:"host" nacos:"redis.host"` // 主机 Port int `json:"port" yaml:"port" nacos:"redis.port"` // 端口 Password string `json:"password" yaml:"password" nacos:"redis.password"` // 密码 Database int `json:"database" yaml:"database" nacos:"redis.database"` // 数据库,默认0 }
redis连接配置
type RedisController ¶
type RedisController struct {
// contains filtered or unexported fields
}
redis控制
var RedisCTL *RedisController
func (*RedisController) Append ¶
func (ctl *RedisController) Append(key, value string) *redis.IntCmd
func (*RedisController) BLPop ¶
func (ctl *RedisController) BLPop(timeout time.Duration, keys ...string) *redis.StringSliceCmd
func (*RedisController) BRPop ¶
func (ctl *RedisController) BRPop(timeout time.Duration, keys ...string) *redis.StringSliceCmd
func (*RedisController) BRPopLPush ¶
func (ctl *RedisController) BRPopLPush(source, destination string, timeout time.Duration) *redis.StringCmd
func (*RedisController) BZPopMax ¶
func (ctl *RedisController) BZPopMax(timeout time.Duration, keys ...string) *redis.ZWithKeyCmd
func (*RedisController) BZPopMin ¶
func (ctl *RedisController) BZPopMin(timeout time.Duration, keys ...string) *redis.ZWithKeyCmd
func (*RedisController) BgRewriteAOF ¶
func (ctl *RedisController) BgRewriteAOF() *redis.StatusCmd
func (*RedisController) BgSave ¶
func (ctl *RedisController) BgSave() *redis.StatusCmd
func (*RedisController) BitCount ¶
func (ctl *RedisController) BitCount(key string, bitCount *redis.BitCount) *redis.IntCmd
func (*RedisController) BitOpAnd ¶
func (ctl *RedisController) BitOpAnd(destKey string, keys ...string) *redis.IntCmd
func (*RedisController) BitOpNot ¶
func (ctl *RedisController) BitOpNot(destKey string, key string) *redis.IntCmd
func (*RedisController) BitOpOr ¶
func (ctl *RedisController) BitOpOr(destKey string, keys ...string) *redis.IntCmd
func (*RedisController) BitOpXor ¶
func (ctl *RedisController) BitOpXor(destKey string, keys ...string) *redis.IntCmd
func (*RedisController) BitPos ¶
func (ctl *RedisController) BitPos(key string, bit int64, pos ...int64) *redis.IntCmd
func (*RedisController) ClientGetName ¶
func (ctl *RedisController) ClientGetName() *redis.StringCmd
func (*RedisController) ClientID ¶
func (ctl *RedisController) ClientID() *redis.IntCmd
func (*RedisController) ClientKill ¶
func (ctl *RedisController) ClientKill(ipPort string) *redis.StatusCmd
func (*RedisController) ClientKillByFilter ¶
func (ctl *RedisController) ClientKillByFilter(keys ...string) *redis.IntCmd
func (*RedisController) ClientList ¶
func (ctl *RedisController) ClientList() *redis.StringCmd
func (*RedisController) ClientPause ¶
func (ctl *RedisController) ClientPause(dur time.Duration) *redis.BoolCmd
func (*RedisController) ClusterAddSlots ¶
func (ctl *RedisController) ClusterAddSlots(slots ...int) *redis.StatusCmd
func (*RedisController) ClusterAddSlotsRange ¶
func (ctl *RedisController) ClusterAddSlotsRange(min, max int) *redis.StatusCmd
func (*RedisController) ClusterCountFailureReports ¶
func (ctl *RedisController) ClusterCountFailureReports(nodeID string) *redis.IntCmd
func (*RedisController) ClusterCountKeysInSlot ¶
func (ctl *RedisController) ClusterCountKeysInSlot(slot int) *redis.IntCmd
func (*RedisController) ClusterDelSlots ¶
func (ctl *RedisController) ClusterDelSlots(slots ...int) *redis.StatusCmd
func (*RedisController) ClusterDelSlotsRange ¶
func (ctl *RedisController) ClusterDelSlotsRange(min, max int) *redis.StatusCmd
func (*RedisController) ClusterFailover ¶
func (ctl *RedisController) ClusterFailover() *redis.StatusCmd
func (*RedisController) ClusterForget ¶
func (ctl *RedisController) ClusterForget(nodeID string) *redis.StatusCmd
func (*RedisController) ClusterGetKeysInSlot ¶
func (ctl *RedisController) ClusterGetKeysInSlot(slot int, count int) *redis.StringSliceCmd
func (*RedisController) ClusterInfo ¶
func (ctl *RedisController) ClusterInfo() *redis.StringCmd
func (*RedisController) ClusterKeySlot ¶
func (ctl *RedisController) ClusterKeySlot(key string) *redis.IntCmd
func (*RedisController) ClusterMeet ¶
func (ctl *RedisController) ClusterMeet(host, port string) *redis.StatusCmd
func (*RedisController) ClusterNodes ¶
func (ctl *RedisController) ClusterNodes() *redis.StringCmd
func (*RedisController) ClusterReplicate ¶
func (ctl *RedisController) ClusterReplicate(nodeID string) *redis.StatusCmd
func (*RedisController) ClusterResetHard ¶
func (ctl *RedisController) ClusterResetHard() *redis.StatusCmd
func (*RedisController) ClusterResetSoft ¶
func (ctl *RedisController) ClusterResetSoft() *redis.StatusCmd
func (*RedisController) ClusterSaveConfig ¶
func (ctl *RedisController) ClusterSaveConfig() *redis.StatusCmd
func (*RedisController) ClusterSlaves ¶
func (ctl *RedisController) ClusterSlaves(nodeID string) *redis.StringSliceCmd
func (*RedisController) ClusterSlots ¶
func (ctl *RedisController) ClusterSlots() *redis.ClusterSlotsCmd
func (*RedisController) Command ¶
func (ctl *RedisController) Command() *redis.CommandsInfoCmd
func (*RedisController) ConfigGet ¶
func (ctl *RedisController) ConfigGet(parameter string) *redis.MapStringStringCmd
func (*RedisController) ConfigResetStat ¶
func (ctl *RedisController) ConfigResetStat() *redis.StatusCmd
func (*RedisController) ConfigRewrite ¶
func (ctl *RedisController) ConfigRewrite() *redis.StatusCmd
func (*RedisController) ConfigSet ¶
func (ctl *RedisController) ConfigSet(parameter, value string) *redis.StatusCmd
func (*RedisController) DBSize ¶
func (ctl *RedisController) DBSize() *redis.IntCmd
func (*RedisController) DebugObject ¶
func (ctl *RedisController) DebugObject(key string) *redis.StringCmd
func (*RedisController) Decr ¶
func (ctl *RedisController) Decr(key string) *redis.IntCmd
func (*RedisController) DecrBy ¶
func (ctl *RedisController) DecrBy(key string, decrement int64) *redis.IntCmd
func (*RedisController) Del ¶
func (ctl *RedisController) Del(keys ...string) *redis.IntCmd
func (*RedisController) Dump ¶
func (ctl *RedisController) Dump(key string) *redis.StringCmd
func (*RedisController) Echo ¶
func (ctl *RedisController) Echo(message interface{}) *redis.StringCmd
func (*RedisController) Eval ¶
func (ctl *RedisController) Eval(script string, keys []string, args ...interface{}) *redis.Cmd
func (*RedisController) EvalSha ¶
func (ctl *RedisController) EvalSha(sha1 string, keys []string, args ...interface{}) *redis.Cmd
func (*RedisController) Exists ¶
func (ctl *RedisController) Exists(keys ...string) *redis.IntCmd
func (*RedisController) Expire ¶
func (ctl *RedisController) Expire(key string, expiration time.Duration) *redis.BoolCmd
func (*RedisController) ExpireAt ¶
func (ctl *RedisController) ExpireAt(key string, tm time.Time) *redis.BoolCmd
func (*RedisController) FlushAll ¶
func (ctl *RedisController) FlushAll() *redis.StatusCmd
func (*RedisController) FlushAllAsync ¶
func (ctl *RedisController) FlushAllAsync() *redis.StatusCmd
func (*RedisController) FlushDB ¶
func (ctl *RedisController) FlushDB() *redis.StatusCmd
func (*RedisController) FlushDBAsync ¶
func (ctl *RedisController) FlushDBAsync() *redis.StatusCmd
func (*RedisController) GeoAdd ¶
func (ctl *RedisController) GeoAdd(key string, geoLocation ...*redis.GeoLocation) *redis.IntCmd
func (*RedisController) GeoDist ¶
func (ctl *RedisController) GeoDist(key string, member1, member2, unit string) *redis.FloatCmd
func (*RedisController) GeoHash ¶
func (ctl *RedisController) GeoHash(key string, members ...string) *redis.StringSliceCmd
func (*RedisController) GeoPos ¶
func (ctl *RedisController) GeoPos(key string, members ...string) *redis.GeoPosCmd
func (*RedisController) GeoRadius ¶
func (ctl *RedisController) GeoRadius(key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd
func (*RedisController) GeoRadiusByMember ¶
func (ctl *RedisController) GeoRadiusByMember(key, member string, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd
func (*RedisController) GeoRadiusByMemberRO ¶
func (ctl *RedisController) GeoRadiusByMemberRO(key, member string, query *redis.GeoRadiusQuery) *redis.IntCmd
func (*RedisController) GeoRadiusStore ¶
func (ctl *RedisController) GeoRadiusStore(key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.IntCmd
func (*RedisController) Get ¶
func (ctl *RedisController) Get(key string) *redis.StringCmd
func (*RedisController) GetBit ¶
func (ctl *RedisController) GetBit(key string, offset int64) *redis.IntCmd
func (*RedisController) GetConfig ¶
func (ctl *RedisController) GetConfig() *Config
func (*RedisController) GetRange ¶
func (ctl *RedisController) GetRange(key string, start, end int64) *redis.StringCmd
func (*RedisController) GetSet ¶
func (ctl *RedisController) GetSet(key string, value interface{}) *redis.StringCmd
func (*RedisController) HDel ¶
func (ctl *RedisController) HDel(key string, fields ...string) *redis.IntCmd
func (*RedisController) HExists ¶
func (ctl *RedisController) HExists(key, field string) *redis.BoolCmd
func (*RedisController) HGet ¶
func (ctl *RedisController) HGet(key, field string) *redis.StringCmd
func (*RedisController) HGetAll ¶
func (ctl *RedisController) HGetAll(key string) *redis.MapStringStringCmd
func (*RedisController) HIncrBy ¶
func (ctl *RedisController) HIncrBy(key, field string, incr int64) *redis.IntCmd
func (*RedisController) HIncrByFloat ¶
func (ctl *RedisController) HIncrByFloat(key, field string, incr float64) *redis.FloatCmd
func (*RedisController) HKeys ¶
func (ctl *RedisController) HKeys(key string) *redis.StringSliceCmd
func (*RedisController) HLen ¶
func (ctl *RedisController) HLen(key string) *redis.IntCmd
func (*RedisController) HMGet ¶
func (ctl *RedisController) HMGet(key string, fields ...string) *redis.SliceCmd
func (*RedisController) HMSet ¶
func (ctl *RedisController) HMSet(key string, values ...interface{}) *redis.BoolCmd
func (*RedisController) HScan ¶
func (ctl *RedisController) HScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
func (*RedisController) HSet ¶
func (ctl *RedisController) HSet(key string, values ...interface{}) *redis.IntCmd
func (*RedisController) HSetNX ¶
func (ctl *RedisController) HSetNX(key, field string, value interface{}) *redis.BoolCmd
func (*RedisController) HVals ¶
func (ctl *RedisController) HVals(key string) *redis.StringSliceCmd
func (*RedisController) Incr ¶
func (ctl *RedisController) Incr(key string) *redis.IntCmd
func (*RedisController) IncrBy ¶
func (ctl *RedisController) IncrBy(key string, value int64) *redis.IntCmd
func (*RedisController) IncrByFloat ¶
func (ctl *RedisController) IncrByFloat(key string, value float64) *redis.FloatCmd
func (*RedisController) Info ¶
func (ctl *RedisController) Info(section ...string) *redis.StringCmd
func (*RedisController) Keys ¶
func (ctl *RedisController) Keys(pattern string) *redis.StringSliceCmd
func (*RedisController) LIndex ¶
func (ctl *RedisController) LIndex(key string, index int64) *redis.StringCmd
func (*RedisController) LInsert ¶
func (ctl *RedisController) LInsert(key, op string, pivot, value interface{}) *redis.IntCmd
func (*RedisController) LInsertAfter ¶
func (ctl *RedisController) LInsertAfter(key string, pivot, value interface{}) *redis.IntCmd
func (*RedisController) LInsertBefore ¶
func (ctl *RedisController) LInsertBefore(key string, pivot, value interface{}) *redis.IntCmd
func (*RedisController) LLen ¶
func (ctl *RedisController) LLen(key string) *redis.IntCmd
func (*RedisController) LPop ¶
func (ctl *RedisController) LPop(key string) *redis.StringCmd
func (*RedisController) LPush ¶
func (ctl *RedisController) LPush(key string, values ...interface{}) *redis.IntCmd
func (*RedisController) LPushX ¶
func (ctl *RedisController) LPushX(key string, value interface{}) *redis.IntCmd
func (*RedisController) LRange ¶
func (ctl *RedisController) LRange(key string, start, stop int64) *redis.StringSliceCmd
func (*RedisController) LRem ¶
func (ctl *RedisController) LRem(key string, count int64, value interface{}) *redis.IntCmd
func (*RedisController) LSet ¶
func (ctl *RedisController) LSet(key string, index int64, value interface{}) *redis.StatusCmd
func (*RedisController) LTrim ¶
func (ctl *RedisController) LTrim(key string, start, stop int64) *redis.StatusCmd
func (*RedisController) LastSave ¶
func (ctl *RedisController) LastSave() *redis.IntCmd
func (*RedisController) MGet ¶
func (ctl *RedisController) MGet(keys ...string) *redis.SliceCmd
func (*RedisController) MSet ¶
func (ctl *RedisController) MSet(pairs ...interface{}) *redis.StatusCmd
func (*RedisController) MSetNX ¶
func (ctl *RedisController) MSetNX(pairs ...interface{}) *redis.BoolCmd
func (*RedisController) MemoryUsage ¶
func (ctl *RedisController) MemoryUsage(key string, samples ...int) *redis.IntCmd
func (*RedisController) Migrate ¶
func (ctl *RedisController) Migrate(host, port, key string, db int, timeout time.Duration) *redis.StatusCmd
func (*RedisController) Move ¶
func (ctl *RedisController) Move(key string, db int) *redis.BoolCmd
func (*RedisController) ObjectEncoding ¶
func (ctl *RedisController) ObjectEncoding(key string) *redis.StringCmd
func (*RedisController) ObjectIdleTime ¶
func (ctl *RedisController) ObjectIdleTime(key string) *redis.DurationCmd
func (*RedisController) ObjectRefCount ¶
func (ctl *RedisController) ObjectRefCount(key string) *redis.IntCmd
func (*RedisController) PExpire ¶
func (ctl *RedisController) PExpire(key string, expiration time.Duration) *redis.BoolCmd
func (*RedisController) PExpireAt ¶
func (ctl *RedisController) PExpireAt(key string, tm time.Time) *redis.BoolCmd
func (*RedisController) PFAdd ¶
func (ctl *RedisController) PFAdd(key string, els ...interface{}) *redis.IntCmd
func (*RedisController) PFCount ¶
func (ctl *RedisController) PFCount(keys ...string) *redis.IntCmd
func (*RedisController) PFMerge ¶
func (ctl *RedisController) PFMerge(dest string, keys ...string) *redis.StatusCmd
func (*RedisController) PTTL ¶
func (ctl *RedisController) PTTL(key string) *redis.DurationCmd
func (*RedisController) Persist ¶
func (ctl *RedisController) Persist(key string) *redis.BoolCmd
func (*RedisController) Ping ¶
func (ctl *RedisController) Ping() *redis.StatusCmd
func (*RedisController) Pipeline ¶
func (ctl *RedisController) Pipeline() redis.Pipeliner
func (*RedisController) Pipelined ¶
func (ctl *RedisController) Pipelined(f func(redis.Pipeliner) error) ([]redis.Cmder, error)
func (*RedisController) PubSubChannels ¶
func (ctl *RedisController) PubSubChannels(pattern string) *redis.StringSliceCmd
func (*RedisController) PubSubNumPat ¶
func (ctl *RedisController) PubSubNumPat() *redis.IntCmd
func (*RedisController) PubSubNumSub ¶
func (ctl *RedisController) PubSubNumSub(channels ...string) *redis.MapStringIntCmd
func (*RedisController) Publish ¶
func (ctl *RedisController) Publish(channel string, message interface{}) *redis.IntCmd
func (*RedisController) Quit ¶
func (ctl *RedisController) Quit() *redis.StatusCmd
func (*RedisController) RPop ¶
func (ctl *RedisController) RPop(key string) *redis.StringCmd
func (*RedisController) RPopLPush ¶
func (ctl *RedisController) RPopLPush(source, destination string) *redis.StringCmd
func (*RedisController) RPush ¶
func (ctl *RedisController) RPush(key string, values ...interface{}) *redis.IntCmd
func (*RedisController) RPushX ¶
func (ctl *RedisController) RPushX(key string, value interface{}) *redis.IntCmd
func (*RedisController) RandomKey ¶
func (ctl *RedisController) RandomKey() *redis.StringCmd
func (*RedisController) ReadOnly ¶
func (ctl *RedisController) ReadOnly() *redis.StatusCmd
func (*RedisController) ReadWrite ¶
func (ctl *RedisController) ReadWrite() *redis.StatusCmd
func (*RedisController) Rename ¶
func (ctl *RedisController) Rename(key, newkey string) *redis.StatusCmd
func (*RedisController) RenameNX ¶
func (ctl *RedisController) RenameNX(key, newkey string) *redis.BoolCmd
func (*RedisController) Restore ¶
func (ctl *RedisController) Restore(key string, ttl time.Duration, value string) *redis.StatusCmd
func (*RedisController) RestoreReplace ¶
func (ctl *RedisController) RestoreReplace(key string, ttl time.Duration, value string) *redis.StatusCmd
func (*RedisController) SAdd ¶
func (ctl *RedisController) SAdd(key string, members ...interface{}) *redis.IntCmd
func (*RedisController) SCard ¶
func (ctl *RedisController) SCard(key string) *redis.IntCmd
func (*RedisController) SDiff ¶
func (ctl *RedisController) SDiff(keys ...string) *redis.StringSliceCmd
func (*RedisController) SDiffStore ¶
func (ctl *RedisController) SDiffStore(destination string, keys ...string) *redis.IntCmd
func (*RedisController) SInter ¶
func (ctl *RedisController) SInter(keys ...string) *redis.StringSliceCmd
func (*RedisController) SInterStore ¶
func (ctl *RedisController) SInterStore(destination string, keys ...string) *redis.IntCmd
func (*RedisController) SIsMember ¶
func (ctl *RedisController) SIsMember(key string, member interface{}) *redis.BoolCmd
func (*RedisController) SMembers ¶
func (ctl *RedisController) SMembers(key string) *redis.StringSliceCmd
func (*RedisController) SMembersMap ¶
func (ctl *RedisController) SMembersMap(key string) *redis.StringStructMapCmd
func (*RedisController) SMove ¶
func (ctl *RedisController) SMove(source, destination string, member interface{}) *redis.BoolCmd
func (*RedisController) SPop ¶
func (ctl *RedisController) SPop(key string) *redis.StringCmd
func (*RedisController) SPopN ¶
func (ctl *RedisController) SPopN(key string, count int64) *redis.StringSliceCmd
func (*RedisController) SRandMember ¶
func (ctl *RedisController) SRandMember(key string) *redis.StringCmd
func (*RedisController) SRandMemberN ¶
func (ctl *RedisController) SRandMemberN(key string, count int64) *redis.StringSliceCmd
func (*RedisController) SRem ¶
func (ctl *RedisController) SRem(key string, members ...interface{}) *redis.IntCmd
func (*RedisController) SScan ¶
func (ctl *RedisController) SScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
func (*RedisController) SUnion ¶
func (ctl *RedisController) SUnion(keys ...string) *redis.StringSliceCmd
func (*RedisController) SUnionStore ¶
func (ctl *RedisController) SUnionStore(destination string, keys ...string) *redis.IntCmd
func (*RedisController) Save ¶
func (ctl *RedisController) Save() *redis.StatusCmd
func (*RedisController) Scan ¶
func (ctl *RedisController) Scan(cursor uint64, match string, count int64) *redis.ScanCmd
func (*RedisController) ScriptExists ¶
func (ctl *RedisController) ScriptExists(hashes ...string) *redis.BoolSliceCmd
func (*RedisController) ScriptFlush ¶
func (ctl *RedisController) ScriptFlush() *redis.StatusCmd
func (*RedisController) ScriptKill ¶
func (ctl *RedisController) ScriptKill() *redis.StatusCmd
func (*RedisController) ScriptLoad ¶
func (ctl *RedisController) ScriptLoad(script string) *redis.StringCmd
func (*RedisController) Set ¶
func (ctl *RedisController) Set(key string, value interface{}, expiration time.Duration) *redis.StatusCmd
func (*RedisController) SetBit ¶
func (ctl *RedisController) SetBit(key string, offset int64, value int) *redis.IntCmd
func (*RedisController) SetNX ¶
func (ctl *RedisController) SetNX(key string, value interface{}, expiration time.Duration) *redis.BoolCmd
func (*RedisController) SetRange ¶
func (ctl *RedisController) SetRange(key string, offset int64, value string) *redis.IntCmd
func (*RedisController) SetXX ¶
func (ctl *RedisController) SetXX(key string, value interface{}, expiration time.Duration) *redis.BoolCmd
func (*RedisController) Shutdown ¶
func (ctl *RedisController) Shutdown() *redis.StatusCmd
func (*RedisController) ShutdownNoSave ¶
func (ctl *RedisController) ShutdownNoSave() *redis.StatusCmd
func (*RedisController) ShutdownSave ¶
func (ctl *RedisController) ShutdownSave() *redis.StatusCmd
func (*RedisController) SlaveOf ¶
func (ctl *RedisController) SlaveOf(host, port string) *redis.StatusCmd
func (*RedisController) Sort ¶
func (ctl *RedisController) Sort(key string, sort *redis.Sort) *redis.StringSliceCmd
func (*RedisController) SortInterfaces ¶
func (ctl *RedisController) SortInterfaces(key string, sort *redis.Sort) *redis.SliceCmd
func (*RedisController) SortStore ¶
func (ctl *RedisController) SortStore(key, store string, sort *redis.Sort) *redis.IntCmd
func (*RedisController) StrLen ¶
func (ctl *RedisController) StrLen(key string) *redis.IntCmd
func (*RedisController) TTL ¶
func (ctl *RedisController) TTL(key string) *redis.DurationCmd
func (*RedisController) Time ¶
func (ctl *RedisController) Time() *redis.TimeCmd
func (*RedisController) Touch ¶
func (ctl *RedisController) Touch(keys ...string) *redis.IntCmd
func (*RedisController) TxPipeline ¶
func (ctl *RedisController) TxPipeline() redis.Pipeliner
func (*RedisController) TxPipelined ¶
func (ctl *RedisController) TxPipelined(f func(redis.Pipeliner) error) ([]redis.Cmder, error)
func (*RedisController) Type ¶
func (ctl *RedisController) Type(key string) *redis.StatusCmd
func (*RedisController) Unlink ¶
func (ctl *RedisController) Unlink(keys ...string) *redis.IntCmd
func (*RedisController) XAck ¶
func (ctl *RedisController) XAck(stream, group string, ids ...string) *redis.IntCmd
func (*RedisController) XAdd ¶
func (ctl *RedisController) XAdd(a *redis.XAddArgs) *redis.StringCmd
func (*RedisController) XClaim ¶
func (ctl *RedisController) XClaim(a *redis.XClaimArgs) *redis.XMessageSliceCmd
func (*RedisController) XClaimJustID ¶
func (ctl *RedisController) XClaimJustID(a *redis.XClaimArgs) *redis.StringSliceCmd
func (*RedisController) XDel ¶
func (ctl *RedisController) XDel(stream string, ids ...string) *redis.IntCmd
func (*RedisController) XGroupCreate ¶
func (ctl *RedisController) XGroupCreate(stream, group, start string) *redis.StatusCmd
func (*RedisController) XGroupCreateMkStream ¶
func (ctl *RedisController) XGroupCreateMkStream(stream, group, start string) *redis.StatusCmd
func (*RedisController) XGroupDelConsumer ¶
func (ctl *RedisController) XGroupDelConsumer(stream, group, consumer string) *redis.IntCmd
func (*RedisController) XGroupDestroy ¶
func (ctl *RedisController) XGroupDestroy(stream, group string) *redis.IntCmd
func (*RedisController) XGroupSetID ¶
func (ctl *RedisController) XGroupSetID(stream, group, start string) *redis.StatusCmd
func (*RedisController) XLen ¶
func (ctl *RedisController) XLen(stream string) *redis.IntCmd
func (*RedisController) XPending ¶
func (ctl *RedisController) XPending(stream, group string) *redis.XPendingCmd
func (*RedisController) XPendingExt ¶
func (ctl *RedisController) XPendingExt(a *redis.XPendingExtArgs) *redis.XPendingExtCmd
func (*RedisController) XRange ¶
func (ctl *RedisController) XRange(stream, start, stop string) *redis.XMessageSliceCmd
func (*RedisController) XRangeN ¶
func (ctl *RedisController) XRangeN(stream, start, stop string, count int64) *redis.XMessageSliceCmd
func (*RedisController) XRead ¶
func (ctl *RedisController) XRead(a *redis.XReadArgs) *redis.XStreamSliceCmd
func (*RedisController) XReadGroup ¶
func (ctl *RedisController) XReadGroup(a *redis.XReadGroupArgs) *redis.XStreamSliceCmd
func (*RedisController) XReadStreams ¶
func (ctl *RedisController) XReadStreams(streams ...string) *redis.XStreamSliceCmd
func (*RedisController) XRevRange ¶
func (ctl *RedisController) XRevRange(stream string, start, stop string) *redis.XMessageSliceCmd
func (*RedisController) XRevRangeN ¶
func (ctl *RedisController) XRevRangeN(stream string, start, stop string, count int64) *redis.XMessageSliceCmd
func (*RedisController) ZAdd ¶
func (ctl *RedisController) ZAdd(key string, members ...redis.Z) *redis.IntCmd
func (*RedisController) ZAddNX ¶
func (ctl *RedisController) ZAddNX(key string, members ...redis.Z) *redis.IntCmd
func (*RedisController) ZAddXX ¶
func (ctl *RedisController) ZAddXX(key string, members ...redis.Z) *redis.IntCmd
func (*RedisController) ZCard ¶
func (ctl *RedisController) ZCard(key string) *redis.IntCmd
func (*RedisController) ZCount ¶
func (ctl *RedisController) ZCount(key, min, max string) *redis.IntCmd
func (*RedisController) ZIncrBy ¶
func (ctl *RedisController) ZIncrBy(key string, increment float64, member string) *redis.FloatCmd
func (*RedisController) ZInterStore ¶
func (ctl *RedisController) ZInterStore(destination string, store *redis.ZStore) *redis.IntCmd
func (*RedisController) ZLexCount ¶
func (ctl *RedisController) ZLexCount(key, min, max string) *redis.IntCmd
func (*RedisController) ZPopMax ¶
func (ctl *RedisController) ZPopMax(key string, count ...int64) *redis.ZSliceCmd
func (*RedisController) ZPopMin ¶
func (ctl *RedisController) ZPopMin(key string, count ...int64) *redis.ZSliceCmd
func (*RedisController) ZRange ¶
func (ctl *RedisController) ZRange(key string, start, stop int64) *redis.StringSliceCmd
func (*RedisController) ZRangeByLex ¶
func (ctl *RedisController) ZRangeByLex(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
func (*RedisController) ZRangeByScore ¶
func (ctl *RedisController) ZRangeByScore(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
func (*RedisController) ZRangeByScoreWithScores ¶
func (ctl *RedisController) ZRangeByScoreWithScores(key string, opt *redis.ZRangeBy) *redis.ZSliceCmd
func (*RedisController) ZRangeWithScores ¶
func (ctl *RedisController) ZRangeWithScores(key string, start, stop int64) *redis.ZSliceCmd
func (*RedisController) ZRank ¶
func (ctl *RedisController) ZRank(key, member string) *redis.IntCmd
func (*RedisController) ZRem ¶
func (ctl *RedisController) ZRem(key string, members ...interface{}) *redis.IntCmd
func (*RedisController) ZRemRangeByLex ¶
func (ctl *RedisController) ZRemRangeByLex(key, min, max string) *redis.IntCmd
func (*RedisController) ZRemRangeByRank ¶
func (ctl *RedisController) ZRemRangeByRank(key string, start, stop int64) *redis.IntCmd
func (*RedisController) ZRemRangeByScore ¶
func (ctl *RedisController) ZRemRangeByScore(key, min, max string) *redis.IntCmd
func (*RedisController) ZRevRange ¶
func (ctl *RedisController) ZRevRange(key string, start, stop int64) *redis.StringSliceCmd
func (*RedisController) ZRevRangeByLex ¶
func (ctl *RedisController) ZRevRangeByLex(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
func (*RedisController) ZRevRangeByScore ¶
func (ctl *RedisController) ZRevRangeByScore(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
func (*RedisController) ZRevRangeByScoreWithScores ¶
func (ctl *RedisController) ZRevRangeByScoreWithScores(key string, opt *redis.ZRangeBy) *redis.ZSliceCmd
func (*RedisController) ZRevRangeWithScores ¶
func (ctl *RedisController) ZRevRangeWithScores(key string, start, stop int64) *redis.ZSliceCmd
func (*RedisController) ZRevRank ¶
func (ctl *RedisController) ZRevRank(key, member string) *redis.IntCmd
func (*RedisController) ZScan ¶
func (ctl *RedisController) ZScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
func (*RedisController) ZScore ¶
func (ctl *RedisController) ZScore(key, member string) *redis.FloatCmd
func (*RedisController) ZUnionStore ¶
func (ctl *RedisController) ZUnionStore(dest string, store *redis.ZStore) *redis.IntCmd
Click to show internal directories.
Click to hide internal directories.