(params martini.Params)
| 118 | } |
| 119 | |
| 120 | func (s *apiServer) XPing(params martini.Params) (int, string) { |
| 121 | if err := s.verifyXAuth(params); err != nil { |
| 122 | return rpc.ApiResponseError(err) |
| 123 | } else { |
| 124 | return rpc.ApiResponseJson("OK") |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | func (s *apiServer) Stats(params martini.Params) (int, string) { |
| 129 | if err := s.verifyXAuth(params); err != nil { |
nothing calls this directly
no test coverage detected