Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveToHost ¶
func ResolveToHostCaching ¶
Types ¶
type AddrSpec ¶
type AddrSpec struct {
FQDN string
IP net.IP
Port int
ProxyHost string
// contains filtered or unexported fields
}
func HandleProtocol ¶
Handle the Socks5 protocol (https://www.ietf.org/rfc/rfc1928.txt). Doesnt support bind or associate commands. Automatically responsed to the server with a noauth required reply.
If the protocol is negotiated successfully,
returns with an open connection to the remote location and AddrSpec (remote host, ip, and port)
func (*AddrSpec) HostAndPort ¶
Click to show internal directories.
Click to hide internal directories.
