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

Function NewStringSliceCmd

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

Source from the content-addressed store, hash-verified

1816var _ Cmder = (*StringSliceCmd)(nil)
1817
1818func NewStringSliceCmd(ctx context.Context, args ...interface{}) *StringSliceCmd {
1819 return &StringSliceCmd{
1820 baseCmd: baseCmd{
1821 ctx: ctx,
1822 args: args,
1823 cmdType: CmdTypeStringSlice,
1824 },
1825 }
1826}
1827
1828func (cmd *StringSliceCmd) SetVal(val []string) {
1829 cmd.val = val

Callers 15

ZInterMethod · 0.85
ZRangeArgsMethod · 0.85
zRangeByMethod · 0.85
ZRevRangeMethod · 0.85
zRevRangeByMethod · 0.85
ZUnionMethod · 0.85
ZRandMemberMethod · 0.85
ZDiffMethod · 0.85
ACLUsersMethod · 0.85
ACLListMethod · 0.85
ACLCatMethod · 0.85
ACLCatArgsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected