MCPcopy Index your code
hub / github.com/aceld/zinx / SetOnConnStop

Method SetOnConnStop

znet/client.go:319–321  ·  view source on GitHub ↗
(hookFunc func(ziface.IConnection))

Source from the content-addressed store, hash-verified

317}
318
319func (c *Client) SetOnConnStop(hookFunc func(ziface.IConnection)) {
320 c.onConnStop = hookFunc
321}
322
323func (c *Client) GetOnConnStart() func(ziface.IConnection) {
324 return c.onConnStart

Callers 8

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected