mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-06 09:16:58 +08:00
9 lines
195 B
Go
9 lines
195 B
Go
package adapter
|
|
|
|
// Handler is a TCP/UDP connection handler that implements
|
|
// HandleTCPConn and HandleUDPConn methods.
|
|
type Handler interface {
|
|
HandleTCPConn(TCPConn)
|
|
HandleUDPConn(UDPConn)
|
|
}
|