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

Method OnlineProxy

pkg/topom/topom_api.go:836–839  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

834}
835
836func (c *ApiClient) OnlineProxy(addr string) error {
837 url := c.encodeURL("/api/topom/proxy/online/%s/%s", c.xauth, addr)
838 return rpc.ApiPutJson(url, nil, nil)
839}
840
841func (c *ApiClient) ReinitProxy(token string) error {
842 url := c.encodeURL("/api/topom/proxy/reinit/%s/%s", c.xauth, token)

Callers 1

OnlineProxyFunction · 0.95

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected