mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 13:41:23 +08:00
11 lines
283 B
Go
11 lines
283 B
Go
package constant
|
|
|
|
type Tunnel interface {
|
|
// HandleTCPConn will handle a tcp connection blocking
|
|
HandleTCPConn(connCtx ConnContext)
|
|
// HandleUDPPacket will handle a udp packet nonblocking
|
|
HandleUDPPacket(packet PacketAdapter)
|
|
// NatTable return nat table
|
|
NatTable() NatTable
|
|
}
|