()
| 323 | } |
| 324 | |
| 325 | func (c *ApiClient) Shutdown() error { |
| 326 | url := c.encodeURL("/api/proxy/shutdown/%s", c.xauth) |
| 327 | return rpc.ApiPutJson(url, nil, nil) |
| 328 | } |
| 329 | |
| 330 | func (c *ApiClient) FillSlots(slots ...*models.Slot) error { |
| 331 | url := c.encodeURL("/api/proxy/fillslots/%s", c.xauth) |