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

Method SetXAuth

pkg/proxy/proxy_api.go:247–249  ·  view source on GitHub ↗
(name, auth string, token string)

Source from the content-addressed store, hash-verified

245}
246
247func (c *ApiClient) SetXAuth(name, auth string, token string) {
248 c.xauth = rpc.NewXAuth(name, auth, token)
249}
250
251func (c *ApiClient) encodeURL(format string, args ...interface{}) string {
252 return rpc.EncodeURL(c.addr, format, args...)

Callers 7

mainFunction · 0.95
OnlineProxyFunction · 0.95
newTopomClientMethod · 0.95
newProxyClientMethod · 0.95
TestStatsFunction · 0.45
TestFillSlotFunction · 0.45
TestStartAndShutdownFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestStatsFunction · 0.36
TestFillSlotFunction · 0.36
TestStartAndShutdownFunction · 0.36