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