sing-box/route/iface_stub.go

18 lines
416 B
Go
Raw Normal View History

2022-07-19 23:12:40 +00:00
//go:build !(linux || windows) || no_gvisor
2022-07-17 03:16:13 +00:00
package route
import (
"os"
E "github.com/sagernet/sing/common/exceptions"
)
func NewNetworkUpdateMonitor(errorHandler E.Handler) (NetworkUpdateMonitor, error) {
return nil, os.ErrInvalid
}
func NewDefaultInterfaceMonitor(networkMonitor NetworkUpdateMonitor, callback DefaultInterfaceUpdateCallback) (DefaultInterfaceMonitor, error) {
return nil, os.ErrInvalid
}