ConnectionHandler is the Serve method to handle connections from a local TCP listener of the standard library (net.Listener)
| 9 | // ConnectionHandler is the Serve method to handle connections |
| 10 | // from a local TCP listener of the standard library (net.Listener) |
| 11 | type ConnectionHandler interface { |
| 12 | Serve(io.ReadWriter) error |
| 13 | } |
| 14 | |
| 15 | // StandardConnectionHandler is the base implementation of handling SOCKS5 requests |
| 16 | type StandardConnectionHandler struct { |
no outgoing calls
no test coverage detected