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

Method Shutdown

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

Source from the content-addressed store, hash-verified

323}
324
325func (c *ApiClient) Shutdown() error {
326 url := c.encodeURL("/api/proxy/shutdown/%s", c.xauth)
327 return rpc.ApiPutJson(url, nil, nil)
328}
329
330func (c *ApiClient) FillSlots(slots ...*models.Slot) error {
331 url := c.encodeURL("/api/proxy/fillslots/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected