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

Function NewIntSliceCmd

command.go:1292–1300  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

1290var _ Cmder = (*IntSliceCmd)(nil)
1291
1292func NewIntSliceCmd(ctx context.Context, args ...interface{}) *IntSliceCmd {
1293 return &IntSliceCmd{
1294 baseCmd: baseCmd{
1295 ctx: ctx,
1296 args: args,
1297 cmdType: CmdTypeIntSlice,
1298 },
1299 }
1300}
1301
1302func (cmd *IntSliceCmd) SetVal(val []int64) {
1303 cmd.val = val

Callers 15

BitFieldMethod · 0.85
BitFieldROMethod · 0.85
CFInsertNXMethod · 0.85
CMSIncrByMethod · 0.85
CMSQueryMethod · 0.85
TopKCountMethod · 0.85
TDigestRankMethod · 0.85
TDigestRevRankMethod · 0.85
LPosCountMethod · 0.85
TSMAddMethod · 0.85
HExpireMethod · 0.85
HExpireWithArgsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected