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

Function xAutoClaimArgs

stream_commands.go:523–530  ·  view source on GitHub ↗
(ctx context.Context, a *XAutoClaimArgs)

Source from the content-addressed store, hash-verified

521}
522
523func xAutoClaimArgs(ctx context.Context, a *XAutoClaimArgs) []interface{} {
524 args := make([]interface{}, 0, 8)
525 args = append(args, "xautoclaim", a.Stream, a.Group, a.Consumer, formatMs(ctx, a.MinIdle), a.Start)
526 if a.Count > 0 {
527 args = append(args, "count", a.Count)
528 }
529 return args
530}
531
532type XClaimArgs struct {
533 Stream string

Callers 3

XAutoClaimMethod · 0.85
XAutoClaimWithDeletedMethod · 0.85
XAutoClaimJustIDMethod · 0.85

Calls 1

formatMsFunction · 0.85

Tested by

no test coverage detected