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