MCPcopy Index your code
hub / github.com/CodisLabs/codis / ResyncGroupAll

Method ResyncGroupAll

pkg/topom/topom_api.go:345–354  ·  view source on GitHub ↗
(params martini.Params)

Source from the content-addressed store, hash-verified

343}
344
345func (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
356func (s *apiServer) GroupAddServer(params martini.Params) (int, string) {
357 if err := s.verifyXAuth(params); err != nil {

Callers

nothing calls this directly

Calls 1

verifyXAuthMethod · 0.95

Tested by

no test coverage detected