(slots []*models.Slot, params martini.Params)
| 206 | } |
| 207 | |
| 208 | func (s *apiServer) FillSlots(slots []*models.Slot, params martini.Params) (int, string) { |
| 209 | if err := s.verifyXAuth(params); err != nil { |
| 210 | return rpc.ApiResponseError(err) |
| 211 | } |
| 212 | if err := s.proxy.FillSlots(slots); err != nil { |
| 213 | return rpc.ApiResponseError(err) |
| 214 | } |
| 215 | return rpc.ApiResponseJson("OK") |
| 216 | } |
| 217 | |
| 218 | func (s *apiServer) SetSentinels(sentinel models.Sentinel, params martini.Params) (int, string) { |
| 219 | if err := s.verifyXAuth(params); err != nil { |
nothing calls this directly
no test coverage detected