1
0
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:
Vladimir Mihailenco
2014-01-06 13:46:10 +02:00
parent 2fd136fe6c
commit 8452fccfb8
2 changed files with 29 additions and 3 deletions

View File

@ -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
}