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

Method SetOnConnStop

znet/server.go:516–518  ·  view source on GitHub ↗
(hookFunc func(ziface.IConnection))

Source from the content-addressed store, hash-verified

514}
515
516func (s *Server) SetOnConnStop(hookFunc func(ziface.IConnection)) {
517 s.onConnStop = hookFunc
518}
519
520func (s *Server) GetOnConnStart() func(ziface.IConnection) {
521 return s.onConnStart

Callers 12

mainFunction · 0.95
TestServerFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
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 1

TestServerFunction · 0.76