(params martini.Params)
| 343 | } |
| 344 | |
| 345 | func (s *apiServer) ResyncGroupAll(params martini.Params) (int, string) { |
| 346 | if err := s.verifyXAuth(params); err != nil { |
| 347 | return rpc.ApiResponseError(err) |
| 348 | } |
| 349 | if err := s.topom.ResyncGroupAll(); err != nil { |
| 350 | return rpc.ApiResponseError(err) |
| 351 | } else { |
| 352 | return rpc.ApiResponseJson("OK") |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | func (s *apiServer) GroupAddServer(params martini.Params) (int, string) { |
| 357 | if err := s.verifyXAuth(params); err != nil { |
nothing calls this directly
no test coverage detected