platform: Add UsePlatformAutoDetectInterfaceControl

This commit is contained in:
世界
2023-04-21 17:47:17 +08:00
parent ec13965fd0
commit 3a92bf993d
4 changed files with 7 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ import (
)
type PlatformInterface interface {
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl(fd int32) error
OpenTun(options TunOptions) (int32, error)
WriteLog(message string)