MCPcopy Create free account
hub / github.com/CodisLabs/codis / RemoveProxy

Method RemoveProxy

pkg/topom/topom_api.go:846–853  ·  view source on GitHub ↗
(token string, force bool)

Source from the content-addressed store, hash-verified

844}
845
846func (c *ApiClient) RemoveProxy(token string, force bool) error {
847 var value int
848 if force {
849 value = 1
850 }
851 url := c.encodeURL("/api/topom/proxy/remove/%s/%s/%d", c.xauth, token, value)
852 return rpc.ApiPutJson(url, nil, nil)
853}
854
855func (c *ApiClient) CreateGroup(gid int) error {
856 url := c.encodeURL("/api/topom/group/create/%s/%d", c.xauth, gid)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected