(ctx context.Context, a *XAutoClaimArgs)
| 521 | } |
| 522 | |
| 523 | func 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 | |
| 532 | type XClaimArgs struct { |
| 533 | Stream string |
no test coverage detected