(params martini.Params)
| 187 | } |
| 188 | |
| 189 | func (s *apiServer) Slots(params martini.Params) (int, string) { |
| 190 | if err := s.verifyXAuth(params); err != nil { |
| 191 | return rpc.ApiResponseError(err) |
| 192 | } else { |
| 193 | return s.SlotsNoXAuth() |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func (s *apiServer) Reload(params martini.Params) (int, string) { |
| 198 | if err := s.verifyXAuth(params); err != nil { |
no test coverage detected