mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
committed by
Vladimir Mihailenco
parent
4afa84c2c4
commit
d5b2eccbe2
@ -186,6 +186,7 @@ type Cmdable interface {
|
||||
XClaimJustID(a *XClaimArgs) *StringSliceCmd
|
||||
XTrim(key string, maxLen int64) *IntCmd
|
||||
XTrimApprox(key string, maxLen int64) *IntCmd
|
||||
XInfoGroups(key string) *XInfoGroupsCmd
|
||||
BZPopMax(timeout time.Duration, keys ...string) *ZWithKeyCmd
|
||||
BZPopMin(timeout time.Duration, keys ...string) *ZWithKeyCmd
|
||||
ZAdd(key string, members ...*Z) *IntCmd
|
||||
@ -1571,6 +1572,12 @@ func (c cmdable) XTrimApprox(key string, maxLen int64) *IntCmd {
|
||||
return cmd
|
||||
}
|
||||
|
||||
func (c cmdable) XInfoGroups(key string) *XInfoGroupsCmd {
|
||||
cmd := NewXInfoGroupsCmd(key)
|
||||
_ = c(cmd)
|
||||
return cmd
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Z represents sorted set member.
|
||||
|
Reference in New Issue
Block a user