mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 20:11:28 +00:00
17 lines
307 B
Go
17 lines
307 B
Go
package platform
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/sagernet/sing-box/common/process"
|
|
"github.com/sagernet/sing-tun"
|
|
"github.com/sagernet/sing/common/control"
|
|
)
|
|
|
|
type Interface interface {
|
|
AutoDetectInterfaceControl() control.Func
|
|
OpenTun(options tun.Options) (tun.Tun, error)
|
|
process.Searcher
|
|
io.Writer
|
|
}
|