github.com/sagernet/sing-box@v1.2.7/common/settings/proxy_stub.go (about)

     1  //go:build !(windows || linux || darwin)
     2  
     3  package settings
     4  
     5  import (
     6  	"os"
     7  
     8  	"github.com/sagernet/sing-box/adapter"
     9  )
    10  
    11  func SetSystemProxy(router adapter.Router, port uint16, isMixed bool) (func() error, error) {
    12  	return nil, os.ErrInvalid
    13  }