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

Method Stats

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

Source from the content-addressed store, hash-verified

796}
797
798func (c *ApiClient) Stats() (*Stats, error) {
799 url := c.encodeURL("/api/topom/stats/%s", c.xauth)
800 stats := &Stats{}
801 if err := rpc.ApiGetJson(url, stats); err != nil {
802 return nil, err
803 }
804 return stats, nil
805}
806
807func (c *ApiClient) Slots() ([]*models.Slot, error) {
808 url := c.encodeURL("/api/topom/slots/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected