mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Refactor reply parser.
This commit is contained in:
@ -229,6 +229,19 @@ func (c *Client) Type(key string) *StatusCmd {
|
||||
return req
|
||||
}
|
||||
|
||||
// func (c *Client) Scan(cursor, match string, count int64) *ScanCmd {
|
||||
// args := []string{"SCAN", cursor}
|
||||
// if match != "" {
|
||||
// args = append(args, "MATCH", match)
|
||||
// }
|
||||
// if count > 0 {
|
||||
// args = append(args, "COUNT", strconv.FormatInt(count, 10))
|
||||
// }
|
||||
// req := NewScanCmd(args...)
|
||||
// c.Process(req)
|
||||
// return req
|
||||
// }
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
func (c *Client) Append(key, value string) *IntCmd {
|
||||
|
Reference in New Issue
Block a user