sing-tun/monitor_other.go
2022-08-04 23:44:59 +08:00

17 lines
370 B
Go

//go:build !(linux || windows || darwin)
package tun
import (
"os"
E "github.com/sagernet/sing/common/exceptions"
)
func NewNetworkUpdateMonitor(errorHandler E.Handler) (NetworkUpdateMonitor, error) {
return nil, os.ErrInvalid
}
func NewDefaultInterfaceMonitor(networkMonitor NetworkUpdateMonitor) (DefaultInterfaceMonitor, error) {
return nil, os.ErrInvalid
}