(handler statute.UserConnectHandler)
| 98 | } |
| 99 | |
| 100 | func WithConnectHandle(handler statute.UserConnectHandler) ServerOption { |
| 101 | return func(s *Server) { |
| 102 | s.UserConnectHandle = handler |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | func WithProxyDial(proxyDial statute.ProxyDialFunc) ServerOption { |
| 107 | return func(s *Server) { |
nothing calls this directly
no outgoing calls
no test coverage detected