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

Method XPing

pkg/proxy/proxy_api.go:120–126  ·  view source on GitHub ↗
(params martini.Params)

Source from the content-addressed store, hash-verified

118}
119
120func (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
128func (s *apiServer) Stats(params martini.Params) (int, string) {
129 if err := s.verifyXAuth(params); err != nil {

Callers

nothing calls this directly

Calls 1

verifyXAuthMethod · 0.95

Tested by

no test coverage detected