(params martini.Params)
| 179 | } |
| 180 | |
| 181 | func (s *apiServer) Stats(params martini.Params) (int, string) { |
| 182 | if err := s.verifyXAuth(params); err != nil { |
| 183 | return rpc.ApiResponseError(err) |
| 184 | } else { |
| 185 | return s.StatsNoXAuth() |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | func (s *apiServer) Slots(params martini.Params) (int, string) { |
| 190 | if err := s.verifyXAuth(params); err != nil { |
no test coverage detected