This commit is contained in:
xjasonlyu
2021-02-05 20:02:29 +08:00
parent 60d61eee7a
commit 90d7d2dfe6
92 changed files with 3176 additions and 1689 deletions

10
stack/handler.go Executable file
View File

@@ -0,0 +1,10 @@
package stack
import (
"github.com/xjasonlyu/tun2socks/common/adapter"
)
type Handler interface {
Add(adapter.TCPConn)
AddPacket(adapter.UDPPacket)
}