sing/common/tun/tun.go
2022-05-04 19:34:55 +08:00

18 lines
306 B
Go

package tun
import (
E "github.com/sagernet/sing/common/exceptions"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
)
type Handler interface {
M.TCPConnectionHandler
N.UDPConnectionHandler
E.Handler
}
type Stack interface {
Start() error
Close() error
}