(m uhaha.Machine, args []string)
| 200 | return nil, err |
| 201 | } |
| 202 | return redcon.SimpleInt(0), nil |
| 203 | } |
| 204 | |
| 205 | v, err := ldb.SExpireAt([]byte(args[1]), timestamp) |
| 206 | return redcon.SimpleInt(v), err |
| 207 | } |
| 208 | |
| 209 | func cmdSTTL(m uhaha.Machine, args []string) (interface{}, error) { |
| 210 | if len(args) != 2 { |
| 211 | return nil, uhaha.ErrWrongNumArgs |
| 212 | } |
nothing calls this directly
no outgoing calls
no test coverage detected