github.com/sagernet/sing-tun@v0.3.0-beta.5/monitor_other.go (about) 1 //go:build !(linux || windows || darwin) 2 3 package tun 4 5 import ( 6 "os" 7 8 "github.com/sagernet/sing/common/logger" 9 ) 10 11 func NewNetworkUpdateMonitor(logger logger.Logger) (NetworkUpdateMonitor, error) { 12 return nil, os.ErrInvalid 13 } 14 15 func NewDefaultInterfaceMonitor(networkMonitor NetworkUpdateMonitor, logger logger.Logger, options DefaultInterfaceMonitorOptions) (DefaultInterfaceMonitor, error) { 16 return nil, os.ErrInvalid 17 }