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

Method Slots

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

Source from the content-addressed store, hash-verified

187}
188
189func (s *apiServer) Slots(params martini.Params) (int, string) {
190 if err := s.verifyXAuth(params); err != nil {
191 return rpc.ApiResponseError(err)
192 } else {
193 return s.SlotsNoXAuth()
194 }
195}
196
197func (s *apiServer) Reload(params martini.Params) (int, string) {
198 if err := s.verifyXAuth(params); err != nil {

Callers 1

SlotsNoXAuthMethod · 0.45

Calls 2

verifyXAuthMethod · 0.95
SlotsNoXAuthMethod · 0.95

Tested by

no test coverage detected