platform: Add UsePlatformAutoDetectInterfaceControl

This commit is contained in:
世界 committed 2023-04-21 17:47:17 +08:00
1 parent ec13965fd0
commit 3a92bf993d
4 files changed
+7 -1

No files matched your search

@@ -15,6 +15,7 @@ import (
type Interface interface {
Initialize(ctx context.Context, router adapter.Router) error
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl() control.Func
OpenTun(options *tun.Options, platformOptions option.TunPlatformOptions) (tun.Tun, error)
UsePlatformDefaultInterfaceMonitor() bool