github.com/apernet/sing-tun@v0.2.6-0.20240323130332-b9f6511036ad/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  }