github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/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  }