(d map[string]interface{})
| 164 | } |
| 165 | |
| 166 | func (t *cmdProxy) handleResetStats(d map[string]interface{}) { |
| 167 | c := t.newProxyClient(true) |
| 168 | |
| 169 | log.Debugf("call rpc resetstats to proxy %s", t.addr) |
| 170 | if err := c.ResetStats(); err != nil { |
| 171 | log.PanicErrorf(err, "call rpc resetstats to proxy %s failed", t.addr) |
| 172 | } |
| 173 | log.Debugf("call rpc resetstats OK") |
| 174 | } |
| 175 | |
| 176 | func (t *cmdProxy) handleForceGC(d map[string]interface{}) { |
| 177 | c := t.newProxyClient(true) |
no test coverage detected