MCPcopy
hub / github.com/CodisLabs/codis / XPing

Method XPing

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

Source from the content-addressed store, hash-verified

171}
172
173func (s *apiServer) XPing(params martini.Params) (int, string) {
174 if err := s.verifyXAuth(params); err != nil {
175 return rpc.ApiResponseError(err)
176 } else {
177 return rpc.ApiResponseJson("OK")
178 }
179}
180
181func (s *apiServer) Stats(params martini.Params) (int, string) {
182 if err := s.verifyXAuth(params); err != nil {

Callers 3

CreateProxyMethod · 0.45
OnlineProxyMethod · 0.45
TestApiTopomFunction · 0.45

Calls 1

verifyXAuthMethod · 0.95

Tested by 1

TestApiTopomFunction · 0.36