Add windows support
This commit is contained in:
parent
4f7247190c
commit
6c2c28da9d
54 changed files with 7023 additions and 191 deletions
9
monitor_other.go
Normal file
9
monitor_other.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//go:build !linux && !windows
|
||||
|
||||
package tun
|
||||
|
||||
import "os"
|
||||
|
||||
func NewMonitor() (InterfaceMonitor, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue