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

Method CreateProxy

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

Source from the content-addressed store, hash-verified

829}
830
831func (c *ApiClient) CreateProxy(addr string) error {
832 url := c.encodeURL("/api/topom/proxy/create/%s/%s", c.xauth, addr)
833 return rpc.ApiPutJson(url, nil, nil)
834}
835
836func (c *ApiClient) OnlineProxy(addr string) error {
837 url := c.encodeURL("/api/topom/proxy/online/%s/%s", c.xauth, addr)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected