MCPcopy
hub / github.com/CodisLabs/codis / NewApiClient

Function NewApiClient

pkg/proxy/proxy_api.go:243–245  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

241}
242
243func NewApiClient(addr string) *ApiClient {
244 return &ApiClient{addr: addr}
245}
246
247func (c *ApiClient) SetXAuth(name, auth string, token string) {
248 c.xauth = rpc.NewXAuth(name, auth, token)

Callers 4

TestModelFunction · 0.70
TestStatsFunction · 0.70
TestFillSlotFunction · 0.70
TestStartAndShutdownFunction · 0.70

Calls

no outgoing calls

Tested by 4

TestModelFunction · 0.56
TestStatsFunction · 0.56
TestFillSlotFunction · 0.56
TestStartAndShutdownFunction · 0.56