(m uhaha.Machine, args []string)
| 143 | } |
| 144 | return redcon.SimpleInt(n), nil |
| 145 | } |
| 146 | |
| 147 | func cmdHKEYS(m uhaha.Machine, args []string) (interface{}, error) { |
| 148 | if len(args) != 2 { |
| 149 | return nil, uhaha.ErrWrongNumArgs |
| 150 | } |
| 151 | |
| 152 | v, err := ldb.HKeys([]byte(args[1])) |
| 153 | if err != nil { |
| 154 | return nil, err |
| 155 | } |
| 156 | |
| 157 | return v, nil |
| 158 | } |
| 159 |
nothing calls this directly
no outgoing calls
no test coverage detected