MCPcopy
hub / github.com/CodisLabs/codis / Values

Method Values

extern/deprecated/redis-test/utils.go:77–85  ·  view source on GitHub ↗
(rsp interface{}, size int)

Source from the content-addressed store, hash-verified

75}
76
77func (c *Conn) Values(rsp interface{}, size int) []interface{} {
78 if a, err := redis.Values(rsp, nil); err != nil {
79 panic(err)
80 } else if size > 0 && len(a) != size {
81 panic(fmt.Sprintf("values.len != %d", size))
82 } else {
83 return a
84 }
85}
86
87func (c *Conn) DelSlot(slot int) {
88 var rsp interface{}

Callers 15

IntsMethod · 0.95
DelSlotMethod · 0.95
SlotsInfoMethod · 0.95
HashKeyMethod · 0.80
GetHsetMethod · 0.80
MgetMethod · 0.80
InfoFullMethod · 0.80
SetMasterMethod · 0.80
MigrateSlotMethod · 0.80
MigrateSlotAsyncMethod · 0.80
SlotsInfoMethod · 0.80
RoleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected