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

Function DoClientConnectedLost

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

Source from the content-addressed store, hash-verified

35}
36
37func DoClientConnectedLost(conn ziface.IConnection) {
38 if name, err := conn.GetProperty("Name"); err == nil {
39 zlog.Debug("Conn Property Name = ", name)
40 }
41
42 if home, err := conn.GetProperty("Home"); err == nil {
43 zlog.Debug("Conn Property Home = ", home)
44 }
45
46 zlog.Debug("DoClientConnectedLost is Called ... ")
47}
48
49func main() {
50 client := znet.NewClient("127.0.0.1", 8999)

Callers

nothing calls this directly

Calls 2

DebugFunction · 0.92
GetPropertyMethod · 0.65

Tested by

no test coverage detected