mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-09-16 13:52:32 +00:00
19 lines
422 B
Go
19 lines
422 B
Go
|
//go:build !linux && !android && !darwin && !windows
|
||
|
// +build !linux,!android,!darwin,!windows
|
||
|
|
||
|
package dev
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"runtime"
|
||
|
)
|
||
|
|
||
|
func OpenTunDevice(tunAddress string, autoRute bool) (TunDevice, error) {
|
||
|
return nil, errors.New("Unsupported platform " + runtime.GOOS + "/" + runtime.GOARCH)
|
||
|
}
|
||
|
|
||
|
// GetAutoDetectInterface get ethernet interface
|
||
|
func GetAutoDetectInterface() (string, error) {
|
||
|
return "", nil
|
||
|
}
|