MCPcopy
hub / github.com/TarsCloud/TarsGo / main

Function main

examples/TlsTestServer/debugtool/dumpstack.go:10–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func main() {
11 comm := tars.GetCommunicator()
12 obj := fmt.Sprintf("App.TlsTestServer.TlsObj@tcp -h 127.0.0.1 -p 10014 -t 60000")
13 app := new(adminf.AdminF)
14 comm.StringToProxy(obj, app)
15 ret, err := app.Notify("tars.dumpstack")
16 if err != nil {
17 fmt.Println(err)
18 return
19 }
20 fmt.Println(ret)
21}

Callers

nothing calls this directly

Calls 3

GetCommunicatorFunction · 0.92
StringToProxyMethod · 0.80
NotifyMethod · 0.65

Tested by

no test coverage detected