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

Function OnConnectionLost

examples/zinx_dynamic_bind/server/server.go:16–18  ·  view source on GitHub ↗
(conn ziface.IConnection)

Source from the content-addressed store, hash-verified

14}
15
16func OnConnectionLost(conn ziface.IConnection) {
17 zlog.Debug("OnConnectionLost:", conn.GetConnection().RemoteAddr())
18}
19
20type blockRouter struct {
21 znet.BaseRouter

Callers

nothing calls this directly

Calls 3

DebugFunction · 0.92
RemoteAddrMethod · 0.65
GetConnectionMethod · 0.65

Tested by

no test coverage detected