MCPcopy
hub / github.com/CodisLabs/codis / ResetStats

Method ResetStats

pkg/proxy/proxy_api.go:305–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305func (c *ApiClient) ResetStats() error {
306 url := c.encodeURL("/api/proxy/stats/reset/%s", c.xauth)
307 return rpc.ApiPutJson(url, nil, nil)
308}
309
310func (c *ApiClient) ForceGC() error {
311 url := c.encodeURL("/api/proxy/forcegc/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected