(m uhaha.Machine, args []string)
| 250 | |
| 251 | return redcon.SimpleInt(len(val)), nil |
| 252 | } |
| 253 | |
| 254 | func cmdHVALS(m uhaha.Machine, args []string) (interface{}, error) { |
| 255 | if len(args) != 2 { |
| 256 | return nil, uhaha.ErrWrongNumArgs |
| 257 | } |
| 258 | |
| 259 | v, err := ldb.HValues([]byte(args[1])) |
| 260 | if err != nil { |
| 261 | return nil, err |
| 262 | } |
| 263 | return v, nil |
| 264 | } |
| 265 |
nothing calls this directly
no outgoing calls
no test coverage detected