Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZAdd ¶
Adds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist. ZADD key score member [score member ...] https://redis.io/commands/zadd
type ZCard ¶
Returns the number of members in a sorted set. ZCARD key https://redis.io/commands/zcard
type ZCount ¶
Returns the count of members in a sorted set that have scores within a range. ZCOUNT key min max https://redis.io/commands/zcount
type ZIncrBy ¶
Increments the score of a member in a sorted set. ZINCRBY key increment member https://redis.io/commands/zincrby
type ZInter ¶
Returns the intersect of multiple sorted sets. ZINTER numkeys key [key ...] [AGGREGATE <SUM | MIN | MAX>] [WITHSCORES] https://redis.io/commands/zinter
type ZInterStore ¶
Stores the intersect of multiple sorted sets in a key. ZINTERSTORE dest numkeys key [key ...] [AGGREGATE <SUM | MIN | MAX>] https://redis.io/commands/zinterstore
func ParseZInterStore ¶
func ParseZInterStore(b redis.BaseCmd) (ZInterStore, error)
type ZRange ¶
Returns members in a sorted set within a range of indexes. ZRANGE key start stop [BYSCORE] [REV] [LIMIT offset count] [WITHSCORES] https://redis.io/commands/zrange
type ZRangeByScore ¶
Returns members in a sorted set within a range of scores. ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count] https://redis.io/commands/zrangebyscore
func ParseZRangeByScore ¶
func ParseZRangeByScore(b redis.BaseCmd) (ZRangeByScore, error)
type ZRank ¶
Returns the index of a member in a sorted set ordered by ascending scores. ZRANK key member [WITHSCORE] https://redis.io/commands/zrank
type ZRem ¶
Removes one or more members from a sorted set. ZREM key member [member ...] https://redis.io/commands/zrem
type ZRemRangeByRank ¶
Removes members in a sorted set within a range of indexes. ZREMRANGEBYRANK key start stop https://redis.io/commands/zremrangebyrank
func ParseZRemRangeByRank ¶
func ParseZRemRangeByRank(b redis.BaseCmd) (ZRemRangeByRank, error)
type ZRemRangeByScore ¶
Removes members in a sorted set within a range of scores. ZREMRANGEBYSCORE key min max https://redis.io/commands/zremrangebyscore
func ParseZRemRangeByScore ¶
func ParseZRemRangeByScore(b redis.BaseCmd) (ZRemRangeByScore, error)
type ZRevRange ¶
Returns members in a sorted set within a range of indexes in reverse order. ZREVRANGE key start stop [WITHSCORES] https://redis.io/commands/zrevrange
type ZRevRangeByScore ¶
Returns members in a sorted set within a range of scores in reverse order. ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count] https://redis.io/commands/zrangebyscore
func ParseZRevRangeByScore ¶
func ParseZRevRangeByScore(b redis.BaseCmd) (ZRevRangeByScore, error)
type ZRevRank ¶
Returns the index of a member in a sorted set ordered by descending scores. ZREVRANK key member [WITHSCORE] https://redis.io/commands/zrevrank
type ZScan ¶
Iterates over members and scores of a sorted set. ZSCAN key cursor [MATCH pattern] [COUNT count] https://redis.io/commands/zscan
type ZScore ¶
Returns the score of a member in a sorted set. ZSCORE key member https://redis.io/commands/zscore
type ZUnion ¶
Returns the union of multiple sorted sets. ZUNION numkeys key [key ...] [AGGREGATE <SUM | MIN | MAX>] [WITHSCORES] https://redis.io/commands/zunion
type ZUnionStore ¶
Stores the union of multiple sorted sets in a key. ZUNIONSTORE dest numkeys key [key ...] [AGGREGATE <SUM | MIN | MAX>] https://redis.io/commands/zunionstore
func ParseZUnionStore ¶
func ParseZUnionStore(b redis.BaseCmd) (ZUnionStore, error)