(addr string)
| 834 | } |
| 835 | |
| 836 | func (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 | |
| 841 | func (c *ApiClient) ReinitProxy(token string) error { |
| 842 | url := c.encodeURL("/api/topom/proxy/reinit/%s/%s", c.xauth, token) |
no test coverage detected