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

Method ClientPause

commands.go:515–519  ·  view source on GitHub ↗
(ctx context.Context, dur time.Duration)

Source from the content-addressed store, hash-verified

513}
514
515func (c cmdable) ClientPause(ctx context.Context, dur time.Duration) *BoolCmd {
516 cmd := NewBoolCmd(ctx, "client", "pause", formatMs(ctx, dur))
517 _ = c(ctx, cmd)
518 return cmd
519}
520
521func (c cmdable) ClientUnpause(ctx context.Context) *BoolCmd {
522 cmd := NewBoolCmd(ctx, "client", "unpause")

Callers

nothing calls this directly

Calls 2

NewBoolCmdFunction · 0.85
formatMsFunction · 0.85

Tested by

no test coverage detected