(rsp interface{}, size int)
| 75 | } |
| 76 | |
| 77 | func (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 | |
| 87 | func (c *Conn) DelSlot(slot int) { |
| 88 | var rsp interface{} |
no outgoing calls
no test coverage detected