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

Method GetOnConnStop

ziface/iserver.go:46–46  ·  view source on GitHub ↗

Get Hook function when the connection is disconnected for the Server (得到该Server的连接断开时的Hook函数)

()

Source from the content-addressed store, hash-verified

44 // Get Hook function when the connection is disconnected for the Server
45 // (得到该Server的连接断开时的Hook函数)
46 GetOnConnStop() func(IConnection)
47
48 // Get the data protocol packet binding method for the Server
49 // (获取Server绑定的数据协议封包方式)

Callers 6

newKcpServerConnFunction · 0.65
newKcpClientConnFunction · 0.65
newWebsocketConnFunction · 0.65
newWsClientConnFunction · 0.65
newServerConnFunction · 0.65
newClientConnFunction · 0.65

Implementers 1

Serverznet/server.go

Calls

no outgoing calls

Tested by

no test coverage detected