# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewClient create a new Socks5 client based on the given config.
NewServer creates a new Server object.
ReadUntilNull reads content from given reader, until a null (0x00) byte.
ReadUsernamePassword reads Socks 5 username/password message from the given reader.
# Constants
NO_AUTH is for anonymous authentication.
PASSWORD is for username/password authentication.
# Variables
Enum value maps for AuthType.
Enum value maps for AuthType.
No description provided by the author
# Structs
Account represents a Socks account.
Client is a Socks5 client.
ClientConfig is the protobuf config for Socks client.
Server is a SOCKS 5 proxy server.
ServerConfig is the protobuf config for Socks server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
AuthType is the authentication type of Socks proxy.