sing-tun/monitor_other.go
2023-08-07 20:31:52 +08:00

16 lines
423 B
Go

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