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

Function NewBoolCmd

command.go:1535–1543  ·  command.go::NewBoolCmd
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

1533var _ Cmder = (*BoolCmd)(nil)
1534
1535func NewBoolCmd(ctx context.Context, args ...interface{}) *BoolCmd {
1536 return &BoolCmd{
1537 baseCmd: baseCmd{
1538 ctx: ctx,
1539 args: args,
1540 cmdType: CmdTypeBool,
1541 },
1542 }
1543}
1544
1545func (cmd *BoolCmd) SetVal(val bool) {
1546 cmd.val = val

Callers 15

ClientSetNameMethod · 0.85
ClientPauseMethod · 0.85
ClientUnpauseMethod · 0.85
SIsMemberMethod · 0.85
SMoveMethod · 0.85
BFAddMethod · 0.85
BFExistsMethod · 0.85
CFAddMethod · 0.85
CFAddNXMethod · 0.85
CFDelMethod · 0.85
CFExistsMethod · 0.85
VAddWithArgsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected