github.com/database64128/shadowsocks-go@v1.10.2-0.20240315062903-143a773533f1/direct/tcp_notlinux.go (about)

     1  //go:build !linux
     2  
     3  package direct
     4  
     5  import (
     6  	"errors"
     7  
     8  	"github.com/database64128/shadowsocks-go/zerocopy"
     9  )
    10  
    11  func NewTCPTransparentServer() (zerocopy.TCPServer, error) {
    12  	return nil, errors.New("transparent proxy is not implemented for this platform")
    13  }