()
| 313 | } |
| 314 | |
| 315 | func (c *ApiClient) Start() error { |
| 316 | url := c.encodeURL("/api/proxy/start/%s", c.xauth) |
| 317 | return rpc.ApiPutJson(url, nil, nil) |
| 318 | } |
| 319 | |
| 320 | func (c *ApiClient) LogLevel(level log.LogLevel) error { |
| 321 | url := c.encodeURL("/api/proxy/loglevel/%s/%s", c.xauth, level) |