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

Method XDelEx

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

Source from the content-addressed store, hash-verified

187}
188
189func (c cmdable) XDelEx(ctx context.Context, stream string, mode string, ids ...string) *SliceCmd {
190 args := []interface{}{"xdelex", stream, mode, "ids", len(ids)}
191 for _, id := range ids {
192 args = append(args, id)
193 }
194 cmd := NewSliceCmd(ctx, args...)
195 _ = c(ctx, cmd)
196 return cmd
197}
198
199func (c cmdable) XLen(ctx context.Context, stream string) *IntCmd {
200 cmd := NewIntCmd(ctx, "xlen", stream)

Callers

nothing calls this directly

Calls 1

NewSliceCmdFunction · 0.85

Tested by

no test coverage detected