Add tun inbound for linux
This commit is contained in:
12
common/tun/tun.go
Normal file
12
common/tun/tun.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package tun
|
||||
|
||||
import (
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
N "github.com/sagernet/sing/common/network"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
N.TCPConnectionHandler
|
||||
N.UDPConnectionHandler
|
||||
E.Handler
|
||||
}
|
||||
Reference in New Issue
Block a user