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

Method handleStart

cmd/admin/proxy.go:107–115  ·  view source on GitHub ↗
(d map[string]interface{})

Source from the content-addressed store, hash-verified

105}
106
107func (t *cmdProxy) handleStart(d map[string]interface{}) {
108 c := t.newProxyClient(true)
109
110 log.Debugf("call rpc start to proxy %s", t.addr)
111 if err := c.Start(); err != nil {
112 log.PanicErrorf(err, "call rpc start to proxy %s failed", t.addr)
113 }
114 log.Debugf("call rpc start to proxy OK")
115}
116
117func (t *cmdProxy) handleLogLevel(d map[string]interface{}) {
118 c := t.newProxyClient(true)

Callers 1

MainMethod · 0.95

Calls 4

newProxyClientMethod · 0.95
DebugfMethod · 0.80
PanicErrorfMethod · 0.80
StartMethod · 0.45

Tested by

no test coverage detected