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

Method Stats

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

Source from the content-addressed store, hash-verified

179}
180
181func (s *apiServer) Stats(params martini.Params) (int, string) {
182 if err := s.verifyXAuth(params); err != nil {
183 return rpc.ApiResponseError(err)
184 } else {
185 return s.StatsNoXAuth()
186 }
187}
188
189func (s *apiServer) Slots(params martini.Params) (int, string) {
190 if err := s.verifyXAuth(params); err != nil {

Callers 1

StatsNoXAuthMethod · 0.45

Calls 2

verifyXAuthMethod · 0.95
StatsNoXAuthMethod · 0.95

Tested by

no test coverage detected