Categorygithub.com/lightStarShip/go-tun2simple
modulepackage
1.1.19
Repository: https://github.com/lightstarship/go-tun2simple.git
Documentation: pkg.go.dev

# README

go-tun2simple

git submodule update --init --recursive

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Handshake fast-tracks SOCKS initialization to get target address to connect.
ParseAddr parses the address in string s.
ReadAddr reads just enough bytes from r to get a valid Addr.
SplitAddr slices a SOCKS address from beginning of b.

# Constants

SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
MaxAddrLen is the maximum size of SOCKS address in bytes.

# Variables

UDPEnabled is the toggle for UDP support.

# Type aliases

Addr represents a SOCKS address as defined in RFC 1928 section 5.
Error represents a SOCKS error.