redis

package
v0.0.0-...-bbc86cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Nil = redis.Nil
)

Functions

This section is empty.

Types

type BitCount

type BitCount struct {
	Start, End int64
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opt *redis.Options) *Client

func (*Client) Append

func (c *Client) Append(_ context.Context, key, value string) *redis.IntCmd

func (*Client) BLPop

func (c *Client) BLPop(_ context.Context, timeout time.Duration, keys ...string) *redis.StringSliceCmd

------------------------------------------------------------------------------

func (*Client) BRPop

func (c *Client) BRPop(_ context.Context, timeout time.Duration, keys ...string) *redis.StringSliceCmd

func (*Client) BRPopLPush

func (c *Client) BRPopLPush(_ context.Context, source, destination string, timeout time.Duration) *redis.StringCmd

func (*Client) BZPopMax

func (c *Client) BZPopMax(_ context.Context, timeout time.Duration, keys ...string) *redis.ZWithKeyCmd

ZWithKey represents sorted set member including the name of the key where it was popped. Redis `BZPOPMAX key [key ...] timeout` command.

func (*Client) BZPopMin

func (c *Client) BZPopMin(_ context.Context, timeout time.Duration, keys ...string) *redis.ZWithKeyCmd

Redis `BZPOPMIN key [key ...] timeout` command.

func (*Client) BgRewriteAOF

func (c *Client) BgRewriteAOF(_ context.Context) *redis.StatusCmd

func (*Client) BgSave

func (c *Client) BgSave(_ context.Context) *redis.StatusCmd

func (*Client) BitCount

func (c *Client) BitCount(_ context.Context, key string, bitCount *redis.BitCount) *redis.IntCmd

func (*Client) BitOpAnd

func (c *Client) BitOpAnd(_ context.Context, destKey string, keys ...string) *redis.IntCmd

func (*Client) BitOpNot

func (c *Client) BitOpNot(_ context.Context, destKey string, key string) *redis.IntCmd

func (*Client) BitOpOr

func (c *Client) BitOpOr(_ context.Context, destKey string, keys ...string) *redis.IntCmd

func (*Client) BitOpXor

func (c *Client) BitOpXor(_ context.Context, destKey string, keys ...string) *redis.IntCmd

func (*Client) BitPos

func (c *Client) BitPos(_ context.Context, key string, bit int64, pos ...int64) *redis.IntCmd

func (*Client) ClientGetName

func (c *Client) ClientGetName(_ context.Context) *redis.StringCmd

ClientGetName returns the name of the connection.

func (*Client) ClientID

func (c *Client) ClientID(_ context.Context) *redis.IntCmd

func (*Client) ClientKill

func (c *Client) ClientKill(_ context.Context, ipPort string) *redis.StatusCmd

func (*Client) ClientKillByFilter

func (c *Client) ClientKillByFilter(_ context.Context, keys ...string) *redis.IntCmd

ClientKillByFilter is new style synx, while the ClientKill is old CLIENT KILL <option> [value] ... <option> [value]

func (*Client) ClientList

func (c *Client) ClientList(_ context.Context) *redis.StringCmd

func (*Client) ClientPause

func (c *Client) ClientPause(_ context.Context, dur time.Duration) *redis.BoolCmd

func (*Client) ClientUnblock

func (c *Client) ClientUnblock(_ context.Context, id int64) *redis.IntCmd

func (*Client) ClientUnblockWithError

func (c *Client) ClientUnblockWithError(_ context.Context, id int64) *redis.IntCmd

func (*Client) ClusterAddSlots

func (c *Client) ClusterAddSlots(_ context.Context, slots ...int) *redis.StatusCmd

func (*Client) ClusterAddSlotsRange

func (c *Client) ClusterAddSlotsRange(_ context.Context, min, max int) *redis.StatusCmd

func (*Client) ClusterCountFailureReports

func (c *Client) ClusterCountFailureReports(_ context.Context, nodeID string) *redis.IntCmd

func (*Client) ClusterCountKeysInSlot

func (c *Client) ClusterCountKeysInSlot(_ context.Context, slot int) *redis.IntCmd

func (*Client) ClusterDelSlots

func (c *Client) ClusterDelSlots(_ context.Context, slots ...int) *redis.StatusCmd

func (*Client) ClusterDelSlotsRange

func (c *Client) ClusterDelSlotsRange(_ context.Context, min, max int) *redis.StatusCmd

func (*Client) ClusterFailover

func (c *Client) ClusterFailover(_ context.Context) *redis.StatusCmd

func (*Client) ClusterForget

func (c *Client) ClusterForget(_ context.Context, nodeID string) *redis.StatusCmd

func (*Client) ClusterGetKeysInSlot

func (c *Client) ClusterGetKeysInSlot(_ context.Context, slot int, count int) *redis.StringSliceCmd

func (*Client) ClusterInfo

func (c *Client) ClusterInfo(_ context.Context) *redis.StringCmd

func (*Client) ClusterKeySlot

func (c *Client) ClusterKeySlot(_ context.Context, key string) *redis.IntCmd

func (*Client) ClusterMeet

func (c *Client) ClusterMeet(_ context.Context, host, port string) *redis.StatusCmd

func (*Client) ClusterNodes

func (c *Client) ClusterNodes(_ context.Context) *redis.StringCmd

func (*Client) ClusterReplicate

func (c *Client) ClusterReplicate(_ context.Context, nodeID string) *redis.StatusCmd

func (*Client) ClusterResetHard

func (c *Client) ClusterResetHard(_ context.Context) *redis.StatusCmd

func (*Client) ClusterResetSoft

func (c *Client) ClusterResetSoft(_ context.Context) *redis.StatusCmd

func (*Client) ClusterSaveConfig

func (c *Client) ClusterSaveConfig(_ context.Context) *redis.StatusCmd

func (*Client) ClusterSlaves

func (c *Client) ClusterSlaves(_ context.Context, nodeID string) *redis.StringSliceCmd

func (*Client) ClusterSlots

func (c *Client) ClusterSlots(_ context.Context) *redis.ClusterSlotsCmd

func (*Client) Command

func (c *Client) Command(_ context.Context) *redis.CommandsInfoCmd

func (*Client) ConfigGet

func (c *Client) ConfigGet(_ context.Context, parameter string) *redis.SliceCmd

func (*Client) ConfigResetStat

func (c *Client) ConfigResetStat(_ context.Context) *redis.StatusCmd

func (*Client) ConfigRewrite

func (c *Client) ConfigRewrite(_ context.Context) *redis.StatusCmd

func (*Client) ConfigSet

func (c *Client) ConfigSet(_ context.Context, parameter, value string) *redis.StatusCmd

func (*Client) DBSize

func (c *Client) DBSize(_ context.Context) *redis.IntCmd

func (*Client) DebugObject

func (c *Client) DebugObject(_ context.Context, key string) *redis.StringCmd

func (*Client) Decr

func (c *Client) Decr(_ context.Context, key string) *redis.IntCmd

func (*Client) DecrBy

func (c *Client) DecrBy(_ context.Context, key string, decrement int64) *redis.IntCmd

func (*Client) Del

func (c *Client) Del(_ context.Context, keys ...string) *redis.IntCmd

func (*Client) Dump

func (c *Client) Dump(_ context.Context, key string) *redis.StringCmd

func (*Client) Echo

func (c *Client) Echo(_ context.Context, message interface{}) *redis.StringCmd

------------------------------------------------------------------------------

func (*Client) Eval

func (c *Client) Eval(_ context.Context, script string, keys []string, args ...interface{}) *redis.Cmd

func (*Client) EvalSha

func (c *Client) EvalSha(_ context.Context, sha1 string, keys []string, args ...interface{}) *redis.Cmd

func (*Client) Exists

func (c *Client) Exists(_ context.Context, keys ...string) *redis.IntCmd

func (*Client) Expire

func (c *Client) Expire(_ context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*Client) ExpireAt

func (c *Client) ExpireAt(_ context.Context, key string, tm time.Time) *redis.BoolCmd

func (*Client) FlushAll

func (c *Client) FlushAll(_ context.Context) *redis.StatusCmd

func (*Client) FlushAllAsync

func (c *Client) FlushAllAsync(_ context.Context) *redis.StatusCmd

func (*Client) FlushDB

func (c *Client) FlushDB(_ context.Context) *redis.StatusCmd

func (*Client) FlushDBAsync

func (c *Client) FlushDBAsync(_ context.Context) *redis.StatusCmd

func (*Client) GeoAdd

func (c *Client) GeoAdd(_ context.Context, key string, geoLocation ...*redis.GeoLocation) *redis.IntCmd

func (*Client) GeoDist

func (c *Client) GeoDist(_ context.Context, key string, member1, member2, unit string) *redis.FloatCmd

func (*Client) GeoHash

func (c *Client) GeoHash(_ context.Context, key string, members ...string) *redis.StringSliceCmd

func (*Client) GeoPos

func (c *Client) GeoPos(_ context.Context, key string, members ...string) *redis.GeoPosCmd

func (*Client) GeoRadius

func (c *Client) GeoRadius(_ context.Context, key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*Client) GeoRadiusByMember

func (c *Client) GeoRadiusByMember(_ context.Context, key, member string, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*Client) GeoRadiusByMemberRO

func (c *Client) GeoRadiusByMemberRO(_ context.Context, key, member string, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*Client) GeoRadiusRO

func (c *Client) GeoRadiusRO(_ context.Context, key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*Client) Get

func (c *Client) Get(_ context.Context, key string) *redis.StringCmd

Redis `GET key` command. It returns redis.Nil error when key does not exist.

func (*Client) GetBit

func (c *Client) GetBit(_ context.Context, key string, offset int64) *redis.IntCmd

func (*Client) GetRange

func (c *Client) GetRange(_ context.Context, key string, start, end int64) *redis.StringCmd

func (*Client) GetSet

func (c *Client) GetSet(_ context.Context, key string, value interface{}) *redis.StringCmd

func (*Client) HDel

func (c *Client) HDel(_ context.Context, key string, fields ...string) *redis.IntCmd

func (*Client) HExists

func (c *Client) HExists(_ context.Context, key, field string) *redis.BoolCmd

func (*Client) HGet

func (c *Client) HGet(_ context.Context, key, field string) *redis.StringCmd

func (*Client) HGetAll

func (c *Client) HGetAll(_ context.Context, key string) *redis.StringStringMapCmd

func (*Client) HIncrBy

func (c *Client) HIncrBy(_ context.Context, key, field string, incr int64) *redis.IntCmd

func (*Client) HIncrByFloat

func (c *Client) HIncrByFloat(_ context.Context, key, field string, incr float64) *redis.FloatCmd

func (*Client) HKeys

func (c *Client) HKeys(_ context.Context, key string) *redis.StringSliceCmd

func (*Client) HLen

func (c *Client) HLen(_ context.Context, key string) *redis.IntCmd

func (*Client) HMGet

func (c *Client) HMGet(_ context.Context, key string, fields ...string) *redis.SliceCmd

func (*Client) HMSet

func (c *Client) HMSet(_ context.Context, key string, fields map[string]interface{}) *redis.StatusCmd

func (*Client) HScan

func (c *Client) HScan(_ context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*Client) HSet

func (c *Client) HSet(_ context.Context, key, field string, value interface{}) *redis.BoolCmd

func (*Client) HSetNX

func (c *Client) HSetNX(_ context.Context, key, field string, value interface{}) *redis.BoolCmd

func (*Client) HVals

func (c *Client) HVals(_ context.Context, key string) *redis.StringSliceCmd

func (*Client) Incr

func (c *Client) Incr(_ context.Context, key string) *redis.IntCmd

func (*Client) IncrBy

func (c *Client) IncrBy(_ context.Context, key string, value int64) *redis.IntCmd

func (*Client) IncrByFloat

func (c *Client) IncrByFloat(_ context.Context, key string, value float64) *redis.FloatCmd

func (*Client) Info

func (c *Client) Info(_ context.Context, section ...string) *redis.StringCmd

func (*Client) Keys

func (c *Client) Keys(_ context.Context, pattern string) *redis.StringSliceCmd

func (*Client) LIndex

func (c *Client) LIndex(_ context.Context, key string, index int64) *redis.StringCmd

func (*Client) LInsert

func (c *Client) LInsert(_ context.Context, key, op string, pivot, value interface{}) *redis.IntCmd

func (*Client) LInsertAfter

func (c *Client) LInsertAfter(_ context.Context, key string, pivot, value interface{}) *redis.IntCmd

func (*Client) LInsertBefore

func (c *Client) LInsertBefore(_ context.Context, key string, pivot, value interface{}) *redis.IntCmd

func (*Client) LLen

func (c *Client) LLen(_ context.Context, key string) *redis.IntCmd

func (*Client) LPop

func (c *Client) LPop(_ context.Context, key string) *redis.StringCmd

func (*Client) LPush

func (c *Client) LPush(_ context.Context, key string, values ...interface{}) *redis.IntCmd

func (*Client) LPushX

func (c *Client) LPushX(_ context.Context, key string, value interface{}) *redis.IntCmd

func (*Client) LRange

func (c *Client) LRange(_ context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*Client) LRem

func (c *Client) LRem(_ context.Context, key string, count int64, value interface{}) *redis.IntCmd

func (*Client) LSet

func (c *Client) LSet(_ context.Context, key string, index int64, value interface{}) *redis.StatusCmd

func (*Client) LTrim

func (c *Client) LTrim(_ context.Context, key string, start, stop int64) *redis.StatusCmd

func (*Client) LastSave

func (c *Client) LastSave(_ context.Context) *redis.IntCmd

func (*Client) MGet

func (c *Client) MGet(_ context.Context, keys ...string) *redis.SliceCmd

func (*Client) MSet

func (c *Client) MSet(_ context.Context, pairs ...interface{}) *redis.StatusCmd

func (*Client) MSetNX

func (c *Client) MSetNX(_ context.Context, pairs ...interface{}) *redis.BoolCmd

func (*Client) MemoryUsage

func (c *Client) MemoryUsage(_ context.Context, key string, samples ...int) *redis.IntCmd

------------------------------------------------------------------------------

func (*Client) Migrate

func (c *Client) Migrate(_ context.Context, host, port, key string, db int64, timeout time.Duration) *redis.StatusCmd

func (*Client) Move

func (c *Client) Move(_ context.Context, key string, db int64) *redis.BoolCmd

func (*Client) ObjectEncoding

func (c *Client) ObjectEncoding(_ context.Context, key string) *redis.StringCmd

func (*Client) ObjectIdleTime

func (c *Client) ObjectIdleTime(_ context.Context, key string) *redis.DurationCmd

func (*Client) ObjectRefCount

func (c *Client) ObjectRefCount(_ context.Context, key string) *redis.IntCmd

func (*Client) PExpire

func (c *Client) PExpire(_ context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*Client) PExpireAt

func (c *Client) PExpireAt(_ context.Context, key string, tm time.Time) *redis.BoolCmd

func (*Client) PFAdd

func (c *Client) PFAdd(_ context.Context, key string, els ...interface{}) *redis.IntCmd

func (*Client) PFCount

func (c *Client) PFCount(_ context.Context, keys ...string) *redis.IntCmd

func (*Client) PFMerge

func (c *Client) PFMerge(_ context.Context, dest string, keys ...string) *redis.StatusCmd

func (*Client) PTTL

func (c *Client) PTTL(_ context.Context, key string) *redis.DurationCmd

func (*Client) Persist

func (c *Client) Persist(_ context.Context, key string) *redis.BoolCmd

func (*Client) Ping

func (c *Client) Ping(_ context.Context) *redis.StatusCmd

func (*Client) PubSubChannels

func (c *Client) PubSubChannels(_ context.Context, pattern string) *redis.StringSliceCmd

func (*Client) PubSubNumPat

func (c *Client) PubSubNumPat(_ context.Context) *redis.IntCmd

func (*Client) PubSubNumSub

func (c *Client) PubSubNumSub(_ context.Context, channels ...string) *redis.StringIntMapCmd

func (*Client) Publish

func (c *Client) Publish(_ context.Context, channel string, message interface{}) *redis.IntCmd

Publish posts the message to the channel.

func (*Client) Quit

func (c *Client) Quit(_ context.Context) *redis.StatusCmd

func (*Client) RPop

func (c *Client) RPop(_ context.Context, key string) *redis.StringCmd

func (*Client) RPopLPush

func (c *Client) RPopLPush(_ context.Context, source, destination string) *redis.StringCmd

func (*Client) RPush

func (c *Client) RPush(_ context.Context, key string, values ...interface{}) *redis.IntCmd

func (*Client) RPushX

func (c *Client) RPushX(_ context.Context, key string, value interface{}) *redis.IntCmd

func (*Client) RandomKey

func (c *Client) RandomKey(_ context.Context) *redis.StringCmd

func (*Client) RawClient

func (c *Client) RawClient() *redis.Client

func (*Client) ReadOnly

func (c *Client) ReadOnly(_ context.Context) *redis.StatusCmd

func (*Client) ReadWrite

func (c *Client) ReadWrite(_ context.Context) *redis.StatusCmd

func (*Client) Rename

func (c *Client) Rename(_ context.Context, key, newkey string) *redis.StatusCmd

func (*Client) RenameNX

func (c *Client) RenameNX(_ context.Context, key, newkey string) *redis.BoolCmd

func (*Client) Restore

func (c *Client) Restore(_ context.Context, key string, ttl time.Duration, value string) *redis.StatusCmd

func (*Client) RestoreReplace

func (c *Client) RestoreReplace(_ context.Context, key string, ttl time.Duration, value string) *redis.StatusCmd

func (*Client) SAdd

func (c *Client) SAdd(_ context.Context, key string, members ...interface{}) *redis.IntCmd

func (*Client) SCard

func (c *Client) SCard(_ context.Context, key string) *redis.IntCmd

func (*Client) SDiff

func (c *Client) SDiff(_ context.Context, keys ...string) *redis.StringSliceCmd

func (*Client) SDiffStore

func (c *Client) SDiffStore(_ context.Context, destination string, keys ...string) *redis.IntCmd

func (*Client) SInter

func (c *Client) SInter(_ context.Context, keys ...string) *redis.StringSliceCmd

func (*Client) SInterStore

func (c *Client) SInterStore(_ context.Context, destination string, keys ...string) *redis.IntCmd

func (*Client) SIsMember

func (c *Client) SIsMember(_ context.Context, key string, member interface{}) *redis.BoolCmd

func (*Client) SMembers

func (c *Client) SMembers(_ context.Context, key string) *redis.StringSliceCmd

Redis `SMEMBERS key` command output as a slice

func (*Client) SMembersMap

func (c *Client) SMembersMap(_ context.Context, key string) *redis.StringStructMapCmd

Redis `SMEMBERS key` command output as a map

func (*Client) SMove

func (c *Client) SMove(_ context.Context, source, destination string, member interface{}) *redis.BoolCmd

func (*Client) SPop

func (c *Client) SPop(_ context.Context, key string) *redis.StringCmd

Redis `SPOP key` command.

func (*Client) SPopN

func (c *Client) SPopN(_ context.Context, key string, count int64) *redis.StringSliceCmd

Redis `SPOP key count` command.

func (*Client) SRandMember

func (c *Client) SRandMember(_ context.Context, key string) *redis.StringCmd

Redis `SRANDMEMBER key` command.

func (*Client) SRandMemberN

func (c *Client) SRandMemberN(_ context.Context, key string, count int64) *redis.StringSliceCmd

Redis `SRANDMEMBER key count` command.

func (*Client) SRem

func (c *Client) SRem(_ context.Context, key string, members ...interface{}) *redis.IntCmd

func (*Client) SScan

func (c *Client) SScan(_ context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*Client) SUnion

func (c *Client) SUnion(_ context.Context, keys ...string) *redis.StringSliceCmd

func (*Client) SUnionStore

func (c *Client) SUnionStore(_ context.Context, destination string, keys ...string) *redis.IntCmd

func (*Client) Save

func (c *Client) Save(_ context.Context) *redis.StatusCmd

func (*Client) Scan

func (c *Client) Scan(_ context.Context, cursor uint64, match string, count int64) *redis.ScanCmd

func (*Client) ScriptExists

func (c *Client) ScriptExists(_ context.Context, hashes ...string) *redis.BoolSliceCmd

func (*Client) ScriptFlush

func (c *Client) ScriptFlush(_ context.Context) *redis.StatusCmd

func (*Client) ScriptKill

func (c *Client) ScriptKill(_ context.Context) *redis.StatusCmd

func (*Client) ScriptLoad

func (c *Client) ScriptLoad(_ context.Context, script string) *redis.StringCmd

func (*Client) Set

func (c *Client) Set(_ context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

func (*Client) SetNX

func (c *Client) SetNX(_ context.Context, key string, value interface{}, expiration time.Duration) *redis.BoolCmd

func (*Client) SetRange

func (c *Client) SetRange(_ context.Context, key string, offset int64, value string) *redis.IntCmd

func (*Client) SetXX

func (c *Client) SetXX(_ context.Context, key string, value interface{}, expiration time.Duration) *redis.BoolCmd

func (*Client) Shutdown

func (c *Client) Shutdown(_ context.Context) *redis.StatusCmd

func (*Client) ShutdownNoSave

func (c *Client) ShutdownNoSave() *redis.StatusCmd

func (*Client) ShutdownSave

func (c *Client) ShutdownSave(_ context.Context) *redis.StatusCmd

func (*Client) SlaveOf

func (c *Client) SlaveOf(_ context.Context, host, port string) *redis.StatusCmd

func (*Client) SlowLog

func (c *Client) SlowLog(_ context.Context)

func (*Client) Sort

func (c *Client) Sort(_ context.Context, key string, sort *redis.Sort) *redis.StringSliceCmd

func (*Client) SortInterfaces

func (c *Client) SortInterfaces(_ context.Context, key string, sort *redis.Sort) *redis.SliceCmd

func (*Client) SortStore

func (c *Client) SortStore(_ context.Context, key, store string, sort *redis.Sort) *redis.IntCmd

func (*Client) StrLen

func (c *Client) StrLen(_ context.Context, key string) *redis.IntCmd

func (*Client) Sync

func (c *Client) Sync(_ context.Context)

func (*Client) TTL

func (c *Client) TTL(_ context.Context, key string) *redis.DurationCmd

func (*Client) Time

func (c *Client) Time(_ context.Context) *redis.TimeCmd

func (*Client) Touch

func (c *Client) Touch(_ context.Context, keys ...string) *redis.IntCmd

func (*Client) Type

func (c *Client) Type(_ context.Context, key string) *redis.StatusCmd
func (c *Client) Unlink(keys ...string) *redis.IntCmd

func (*Client) Wait

func (c *Client) Wait(_ context.Context, numSlaves int, timeout time.Duration) *redis.IntCmd

func (*Client) XAck

func (c *Client) XAck(_ context.Context, stream, group string, ids ...string) *redis.IntCmd

func (*Client) XAdd

------------------------------------------------------------------------------

func (*Client) XClaim

func (*Client) XClaimJustID

func (c *Client) XClaimJustID(_ context.Context, a *redis.XClaimArgs) *redis.StringSliceCmd

func (*Client) XDel

func (c *Client) XDel(_ context.Context, stream string, ids ...string) *redis.IntCmd

func (*Client) XGroupCreate

func (c *Client) XGroupCreate(_ context.Context, stream, group, start string) *redis.StatusCmd

func (*Client) XGroupCreateMkStream

func (c *Client) XGroupCreateMkStream(_ context.Context, stream, group, start string) *redis.StatusCmd

func (*Client) XGroupDelConsumer

func (c *Client) XGroupDelConsumer(_ context.Context, stream, group, consumer string) *redis.IntCmd

func (*Client) XGroupDestroy

func (c *Client) XGroupDestroy(_ context.Context, stream, group string) *redis.IntCmd

func (*Client) XGroupSetID

func (c *Client) XGroupSetID(_ context.Context, stream, group, start string) *redis.StatusCmd

func (*Client) XLen

func (c *Client) XLen(_ context.Context, stream string) *redis.IntCmd

func (*Client) XPending

func (c *Client) XPending(_ context.Context, stream, group string) *redis.XPendingCmd

func (*Client) XPendingExt

func (*Client) XRange

func (c *Client) XRange(_ context.Context, stream, start, stop string) *redis.XMessageSliceCmd

func (*Client) XRangeN

func (c *Client) XRangeN(_ context.Context, stream, start, stop string, count int64) *redis.XMessageSliceCmd

func (*Client) XRead

func (*Client) XReadGroup

func (*Client) XReadStreams

func (c *Client) XReadStreams(_ context.Context, streams ...string) *redis.XStreamSliceCmd

func (*Client) XRevRange

func (c *Client) XRevRange(_ context.Context, stream, start, stop string) *redis.XMessageSliceCmd

func (*Client) XRevRangeN

func (c *Client) XRevRangeN(_ context.Context, stream, start, stop string, count int64) *redis.XMessageSliceCmd

func (*Client) XTrim

func (c *Client) XTrim(_ context.Context, key string, maxLen int64) *redis.IntCmd

func (*Client) XTrimApprox

func (c *Client) XTrimApprox(_ context.Context, key string, maxLen int64) *redis.IntCmd

func (*Client) ZAdd

func (c *Client) ZAdd(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key score member [score member ...]` command.

func (*Client) ZAddCh

func (c *Client) ZAddCh(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key CH score member [score member ...]` command.

func (*Client) ZAddNX

func (c *Client) ZAddNX(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key NX score member [score member ...]` command.

func (*Client) ZAddNXCh

func (c *Client) ZAddNXCh(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key NX CH score member [score member ...]` command.

func (*Client) ZAddXX

func (c *Client) ZAddXX(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key XX score member [score member ...]` command.

func (*Client) ZAddXXCh

func (c *Client) ZAddXXCh(_ context.Context, key string, members ...redis.Z) *redis.IntCmd

Redis `ZADD key XX CH score member [score member ...]` command.

func (*Client) ZCard

func (c *Client) ZCard(_ context.Context, key string) *redis.IntCmd

func (*Client) ZCount

func (c *Client) ZCount(_ context.Context, key, min, max string) *redis.IntCmd

func (*Client) ZIncr

func (c *Client) ZIncr(_ context.Context, key string, member redis.Z) *redis.FloatCmd

Redis `ZADD key INCR score member` command.

func (*Client) ZIncrBy

func (c *Client) ZIncrBy(_ context.Context, key string, increment float64, member string) *redis.FloatCmd

func (*Client) ZIncrNX

func (c *Client) ZIncrNX(_ context.Context, key string, member redis.Z) *redis.FloatCmd

Redis `ZADD key NX INCR score member` command.

func (*Client) ZIncrXX

func (c *Client) ZIncrXX(_ context.Context, key string, member redis.Z) *redis.FloatCmd

Redis `ZADD key XX INCR score member` command.

func (*Client) ZInterStore

func (c *Client) ZInterStore(_ context.Context, destination string, store redis.ZStore, keys ...string) *redis.IntCmd

func (*Client) ZLexCount

func (c *Client) ZLexCount(_ context.Context, key, min, max string) *redis.IntCmd

func (*Client) ZPopMax

func (c *Client) ZPopMax(_ context.Context, key string, count ...int64) *redis.ZSliceCmd

func (*Client) ZPopMin

func (c *Client) ZPopMin(_ context.Context, key string, count ...int64) *redis.ZSliceCmd

func (*Client) ZRange

func (c *Client) ZRange(_ context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*Client) ZRangeByLex

func (c *Client) ZRangeByLex(_ context.Context, key string, opt redis.ZRangeBy) *redis.StringSliceCmd

func (*Client) ZRangeByScore

func (c *Client) ZRangeByScore(_ context.Context, key string, opt redis.ZRangeBy) *redis.StringSliceCmd

func (*Client) ZRangeByScoreWithScores

func (c *Client) ZRangeByScoreWithScores(_ context.Context, key string, opt redis.ZRangeBy) *redis.ZSliceCmd

func (*Client) ZRangeWithScores

func (c *Client) ZRangeWithScores(_ context.Context, key string, start, stop int64) *redis.ZSliceCmd

func (*Client) ZRank

func (c *Client) ZRank(_ context.Context, key, member string) *redis.IntCmd

func (*Client) ZRem

func (c *Client) ZRem(_ context.Context, key string, members ...interface{}) *redis.IntCmd

func (*Client) ZRemRangeByLex

func (c *Client) ZRemRangeByLex(_ context.Context, key, min, max string) *redis.IntCmd

func (*Client) ZRemRangeByRank

func (c *Client) ZRemRangeByRank(_ context.Context, key string, start, stop int64) *redis.IntCmd

func (*Client) ZRemRangeByScore

func (c *Client) ZRemRangeByScore(_ context.Context, key, min, max string) *redis.IntCmd

func (*Client) ZRevRange

func (c *Client) ZRevRange(_ context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*Client) ZRevRangeByLex

func (c *Client) ZRevRangeByLex(_ context.Context, key string, opt redis.ZRangeBy) *redis.StringSliceCmd

func (*Client) ZRevRangeByScore

func (c *Client) ZRevRangeByScore(_ context.Context, key string, opt redis.ZRangeBy) *redis.StringSliceCmd

func (*Client) ZRevRangeByScoreWithScores

func (c *Client) ZRevRangeByScoreWithScores(_ context.Context, key string, opt redis.ZRangeBy) *redis.ZSliceCmd

func (*Client) ZRevRangeWithScores

func (c *Client) ZRevRangeWithScores(_ context.Context, key string, start, stop int64) *redis.ZSliceCmd

func (*Client) ZRevRank

func (c *Client) ZRevRank(_ context.Context, key, member string) *redis.IntCmd

func (*Client) ZScan

func (c *Client) ZScan(_ context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*Client) ZScore

func (c *Client) ZScore(_ context.Context, key, member string) *redis.FloatCmd

func (*Client) ZUnionStore

func (c *Client) ZUnionStore(_ context.Context, dest string, store redis.ZStore, keys ...string) *redis.IntCmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL