MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / setOnConnectionIntercept

Method setOnConnectionIntercept

server/server.go:112–114  ·  view source on GitHub ↗
(i func(conn *net.Conn, stop *bool))

Source from the content-addressed store, hash-verified

110}
111
112func (srv *Server) setOnConnectionIntercept(i func(conn *net.Conn, stop *bool)) {
113 srv.onConnectionIntercept = i
114}
115
116func (srv *Server) Listener() *net.Listener {
117 return srv.listener

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected