Chore: move stack & device to core

This commit is contained in:
xjasonlyu
2021-02-07 18:49:55 +08:00
parent 669a601f1a
commit ace24826d2
18 changed files with 9 additions and 9 deletions

10
core/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)
}