tunnelproxy

package
v0.0.0-...-1c9aedc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSupportedScheme

func IsSupportedScheme(scheme string) bool

func Normalize

func Normalize(value string) (string, error)

Types

type Config

type Config struct {
	Scheme            string
	Server            string
	Credential        string
	Method            string
	AlterID           int
	Cipher            string
	Transport         string
	TLS               bool
	Security          string
	Flow              string
	ServerName        string
	Insecure          bool
	ALPN              []string
	RealityPublicKey  string
	RealityShortID    string
	ClientFingerprint string
	SpiderX           string
	WebSocketHost     string
	WebSocketPath     string
	CanonicalProxyURL string
}

func Parse

func Parse(value string) (Config, error)

type Dialer

type Dialer struct {
	// contains filtered or unexported fields
}

func NewDialer

func NewDialer(value string) (*Dialer, error)

func (*Dialer) Dial

func (d *Dialer) Dial(network, address string) (net.Conn, error)

func (*Dialer) DialContext

func (d *Dialer) DialContext(ctx context.Context, network, address string) (net.Conn, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL