mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Add debug object command.
This commit is contained in:
@ -1165,3 +1165,11 @@ func (c *Client) ScriptLoad(script string) *StringCmd {
|
||||
c.Process(req)
|
||||
return req
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
func (c *Client) DebugObject(key string) *StringCmd {
|
||||
req := NewStringCmd("DEBUG", "OBJECT", key)
|
||||
c.Process(req)
|
||||
return req
|
||||
}
|
||||
|
Reference in New Issue
Block a user