Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
243
func
NewApiClient(addr string) *ApiClient {
244
return
&ApiClient{addr: addr}
245
}
246
247
func
(c *ApiClient) SetXAuth(name, auth string, token string) {
248
c.xauth = rpc.NewXAuth(name, auth, token)
Callers
4
TestModel
Function · 0.70
TestStats
Function · 0.70
TestFillSlot
Function · 0.70
TestStartAndShutdown
Function · 0.70
Calls
no outgoing calls
Tested by
4
TestModel
Function · 0.56
TestStats
Function · 0.56
TestFillSlot
Function · 0.56
TestStartAndShutdown
Function · 0.56