proxy_stub.go 272 B

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