(m uhaha.Machine, args []string)
| 343 | } |
| 344 | return redcon.SimpleInt(v), nil |
| 345 | } |
| 346 | |
| 347 | func cmdHTTL(m uhaha.Machine, args []string) (interface{}, error) { |
| 348 | if len(args) != 2 { |
| 349 | return nil, uhaha.ErrWrongNumArgs |
| 350 | } |
| 351 | |
| 352 | v, err := ldb.HTTL([]byte(args[1])) |
| 353 | if err != nil { |
| 354 | return nil, err |
| 355 | } |
| 356 | return redcon.SimpleInt(v), nil |
| 357 | } |
| 358 |
nothing calls this directly
no outgoing calls
no test coverage detected