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

Method SlotsNoXAuth

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

Source from the content-addressed store, hash-verified

163}
164
165func (s *apiServer) SlotsNoXAuth() (int, string) {
166 if slots, err := s.topom.Slots(); err != nil {
167 return rpc.ApiResponseError(err)
168 } else {
169 return rpc.ApiResponseJson(slots)
170 }
171}
172
173func (s *apiServer) XPing(params martini.Params) (int, string) {
174 if err := s.verifyXAuth(params); err != nil {

Callers 1

SlotsMethod · 0.95

Calls 1

SlotsMethod · 0.45

Tested by

no test coverage detected