forked from mirror/redis
Merge pull request #972 from go-redis/fix/streams-comment
Add Streams comment
This commit is contained in:
commit
73ef066b86
|
@ -1453,10 +1453,11 @@ func (c *cmdable) XGroupDelConsumer(stream, group, consumer string) *IntCmd {
|
||||||
type XReadGroupArgs struct {
|
type XReadGroupArgs struct {
|
||||||
Group string
|
Group string
|
||||||
Consumer string
|
Consumer string
|
||||||
Streams []string
|
// List of streams and ids.
|
||||||
Count int64
|
Streams []string
|
||||||
Block time.Duration
|
Count int64
|
||||||
NoAck bool
|
Block time.Duration
|
||||||
|
NoAck bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *cmdable) XReadGroup(a *XReadGroupArgs) *XStreamSliceCmd {
|
func (c *cmdable) XReadGroup(a *XReadGroupArgs) *XStreamSliceCmd {
|
||||||
|
|
Loading…
Reference in New Issue