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

Method FillSlots

pkg/proxy/proxy_api.go:330–333  ·  view source on GitHub ↗
(slots ...*models.Slot)

Source from the content-addressed store, hash-verified

328}
329
330func (c *ApiClient) FillSlots(slots ...*models.Slot) error {
331 url := c.encodeURL("/api/proxy/fillslots/%s", c.xauth)
332 return rpc.ApiPutJson(url, slots, nil)
333}
334
335func (c *ApiClient) SetSentinels(sentinel *models.Sentinel) error {
336 url := c.encodeURL("/api/proxy/sentinels/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected