MCPcopy
hub / github.com/redis/go-redis / XAckDel

Method XAckDel

stream_commands.go:169–177  ·  view source on GitHub ↗
(ctx context.Context, stream string, group string, mode string, ids ...string)

Source from the content-addressed store, hash-verified

167}
168
169func (c cmdable) XAckDel(ctx context.Context, stream string, group string, mode string, ids ...string) *SliceCmd {
170 args := []interface{}{"xackdel", stream, group, mode, "ids", len(ids)}
171 for _, id := range ids {
172 args = append(args, id)
173 }
174 cmd := NewSliceCmd(ctx, args...)
175 _ = c(ctx, cmd)
176 return cmd
177}
178
179func (c cmdable) XDel(ctx context.Context, stream string, ids ...string) *IntCmd {
180 args := []interface{}{"xdel", stream}

Callers

nothing calls this directly

Calls 1

NewSliceCmdFunction · 0.85

Tested by

no test coverage detected