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

Method GetOnConnStart

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

Get Hook function when the connection is created for the Server (得到该Server的连接创建时Hook函数)

()

Source from the content-addressed store, hash-verified

40 // Get Hook function when the connection is created for the Server
41 // (得到该Server的连接创建时Hook函数)
42 GetOnConnStart() func(IConnection)
43
44 // Get Hook function when the connection is disconnected for the Server
45 // (得到该Server的连接断开时的Hook函数)

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