浏览文件
platform_notlinux.go
16 行 · 441 B历史下载| 1 | //go:build !linux |
| 2 | |
| 3 | package managedproxy |
| 4 | |
| 5 | import ( |
| 6 | "context" |
| 7 | "errors" |
| 8 | ) |
| 9 | |
| 10 | func startLinuxCore(context.Context, string, Store) error { |
| 11 | return errors.New("Linux core is unavailable on this platform") |
| 12 | } |
| 13 | func stopLinuxCore(string) error { return errors.New("Linux core is unavailable on this platform") } |
| 14 | func linuxPhysicalInterface(context.Context) (string, error) { |
| 15 | return "", errors.New("Linux interface is unavailable on this platform") |
| 16 | } |

