MCPcopy
hub / github.com/aceld/zinx / DoClientConnectedBegin

Function DoClientConnectedBegin

examples/zinx_metrics/client/c2/client.go:28–35  ·  view source on GitHub ↗
(conn ziface.IConnection)

Source from the content-addressed store, hash-verified

26}
27
28func DoClientConnectedBegin(conn ziface.IConnection) {
29 zlog.Debug("DoConnectionBegin is Called ... ")
30
31 conn.SetProperty("Name", "刘丹冰Aceld")
32 conn.SetProperty("Home", "https://yuque.com/aceld")
33
34 go business(conn)
35}
36
37func DoClientConnectedLost(conn ziface.IConnection) {
38 if name, err := conn.GetProperty("Name"); err == nil {

Callers

nothing calls this directly

Calls 3

DebugFunction · 0.92
businessFunction · 0.70
SetPropertyMethod · 0.65

Tested by

no test coverage detected