(ctx *Context, txn *db.Transaction)
| 219 | } |
| 220 | } |
| 221 | func debugObject(ctx *Context, txn *db.Transaction) (OnCommit, error) { |
| 222 | key := []byte(ctx.Args[1]) |
| 223 | obj, err := txn.Object(key) |
| 224 | if err != nil { |
| 225 | return nil, errors.New("ERR " + err.Error()) |
| 226 | } |
| 227 | return SimpleString(ctx.Out, obj.String()), nil |
| 228 | } |
| 229 | |
| 230 | // RedisCommand returns Array reply of details about all Redis commands |
| 231 | func RedisCommand(ctx *Context) { |
no test coverage detected