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

Method Model

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

Source from the content-addressed store, hash-verified

782}
783
784func (c *ApiClient) Model() (*models.Topom, error) {
785 url := c.encodeURL("/api/topom/model")
786 model := &models.Topom{}
787 if err := rpc.ApiGetJson(url, model); err != nil {
788 return nil, err
789 }
790 return model, nil
791}
792
793func (c *ApiClient) XPing() error {
794 url := c.encodeURL("/api/topom/xping/%s", c.xauth)

Callers 1

openProxyFunction · 0.95

Calls 1

encodeURLMethod · 0.95

Tested by 1

openProxyFunction · 0.76