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

     1  //go:build !(windows || linux || darwin)
     2  
     3  package settings
     4  
     5  import (
     6  	"context"
     7  	"os"
     8  
     9  	M "github.com/sagernet/sing/common/metadata"
    10  )
    11  
    12  func NewSystemProxy(ctx context.Context, serverAddr M.Socksaddr, supportSOCKS bool) (SystemProxy, error) {
    13  	return nil, os.ErrInvalid
    14  }