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

Method StatsNoXAuth

pkg/topom/topom_api.go:157–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155}
156
157func (s *apiServer) StatsNoXAuth() (int, string) {
158 if stats, err := s.topom.Stats(); err != nil {
159 return rpc.ApiResponseError(err)
160 } else {
161 return rpc.ApiResponseJson(stats)
162 }
163}
164
165func (s *apiServer) SlotsNoXAuth() (int, string) {
166 if slots, err := s.topom.Slots(); err != nil {

Callers 1

StatsMethod · 0.95

Calls 1

StatsMethod · 0.45

Tested by

no test coverage detected