(m uhaha.Machine, args []string)
| 209 | func cmdSTTL(m uhaha.Machine, args []string) (interface{}, error) { |
| 210 | if len(args) != 2 { |
| 211 | return nil, uhaha.ErrWrongNumArgs |
| 212 | } |
| 213 | |
| 214 | v, err := ldb.STTL([]byte(args[1])) |
| 215 | return redcon.SimpleInt(v), err |
| 216 | } |
| 217 | |
| 218 | func cmdSPERSIST(m uhaha.Machine, args []string) (interface{}, error) { |
| 219 | if len(args) != 2 { |
| 220 | return nil, uhaha.ErrWrongNumArgs |
| 221 | } |
nothing calls this directly
no outgoing calls
no test coverage detected