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

Method SetOnConnStart

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

Set Hook function when the connection is created for the Server (设置该Server的连接创建时Hook函数)

(func(IConnection))

Source from the content-addressed store, hash-verified

32
33 // Set Hook function when the connection is created for the Server (设置该Server的连接创建时Hook函数)
34 SetOnConnStart(func(IConnection))
35
36 // Set Hook function when the connection is disconnected for the Server
37 // (设置该Server的连接断开时的Hook函数)

Callers 4

mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 1

Serverznet/server.go

Calls

no outgoing calls

Tested by

no test coverage detected