(addr string)
| 829 | } |
| 830 | |
| 831 | func (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 | |
| 836 | func (c *ApiClient) OnlineProxy(addr string) error { |
| 837 | url := c.encodeURL("/api/topom/proxy/online/%s/%s", c.xauth, addr) |