From 5b4bc5cab5e4bd24630af16236b8e5c78466803d Mon Sep 17 00:00:00 2001 From: wangtuanjie Date: Tue, 6 Apr 2021 22:13:34 +0800 Subject: [PATCH] Cmdable interface: add XInfoConsumers method --- commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.go b/commands.go index d3011c6c..6f69ff03 100644 --- a/commands.go +++ b/commands.go @@ -229,6 +229,7 @@ type Cmdable interface { XTrimApprox(ctx context.Context, key string, maxLen int64) *IntCmd XInfoGroups(ctx context.Context, key string) *XInfoGroupsCmd XInfoStream(ctx context.Context, key string) *XInfoStreamCmd + XInfoConsumers(ctx context.Context, key string, group string) *XInfoConsumersCmd BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *ZWithKeyCmd BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *ZWithKeyCmd