mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-06 17:26:58 +08:00
Chore: move stack & device to core
This commit is contained in:
10
core/stack/handler.go
Executable file
10
core/stack/handler.go
Executable file
@@ -0,0 +1,10 @@
|
||||
package stack
|
||||
|
||||
import (
|
||||
"github.com/xjasonlyu/tun2socks/common/adapter"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
Add(adapter.TCPConn)
|
||||
AddPacket(adapter.UDPPacket)
|
||||
}
|
Reference in New Issue
Block a user