Proxy handles SOCKS5 protocol and data forwarding
| 19 | |
| 20 | // Proxy handles SOCKS5 protocol and data forwarding |
| 21 | type Proxy interface { |
| 22 | Start(port int, quicConn quic.Connection) error |
| 23 | StartWithConfig(port int, quicConn quic.Connection, bufferSize int) error |
| 24 | StartWithConnManager(port int, cm *manager.ConnManager) error |
| 25 | StartWithContext(ctx context.Context, port int, quicConn quic.Connection) error |
| 26 | StartWithConfigAndContext(ctx context.Context, port int, quicConn quic.Connection, bufferSize int) error |
| 27 | StartWithConnManagerAndContext(ctx context.Context, port int, cm *manager.ConnManager) error |
| 28 | } |
| 29 | |
| 30 | // DefaultProxy implements Proxy |
| 31 | type DefaultProxy struct{} |
no outgoing calls
no test coverage detected