()
| 6 | ) |
| 7 | |
| 8 | func init() { |
| 9 | conf.AddReadCommand("INFO", cmdINFO) |
| 10 | conf.AddWriteCommand("FLUSHALL", cmdFLUSHALL) |
| 11 | conf.AddWriteCommand("FLUSHDB", cmdFLUSHDB) |
| 12 | } |
| 13 | |
| 14 | func cmdINFO(_ uhaha.Machine, args []string) (interface{}, error) { |
| 15 | if len(args) != 1 { |
nothing calls this directly
no outgoing calls
no test coverage detected