mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 18:20:41 +08:00
16 lines
256 B
Go
16 lines
256 B
Go
// +build !darwin,!linux
|
|
|
|
package tun
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
"runtime"
|
|
|
|
"gvisor.dev/gvisor/pkg/tcpip/stack"
|
|
)
|
|
|
|
func Open(_ string) (stack.LinkEndpoint, io.Closer, error) {
|
|
return nil, nil, fmt.Errorf("operation was not supported on %s", runtime.GOOS)
|
|
}
|