MCPcopy Index your code
hub / github.com/CodisLabs/codis / ForceGC

Method ForceGC

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

Source from the content-addressed store, hash-verified

308}
309
310func (c *ApiClient) ForceGC() error {
311 url := c.encodeURL("/api/proxy/forcegc/%s", c.xauth)
312 return rpc.ApiPutJson(url, nil, nil)
313}
314
315func (c *ApiClient) Start() error {
316 url := c.encodeURL("/api/proxy/start/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected