Documentation
¶
Overview ¶
Package socks5 is a SOCKS5 server implementation for userspace networking in Tailscale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a SOCKS5 connection for client to reach server.
type Server ¶
type Server struct {
// Logf optionally specifies the logger to use.
// If nil, the standard logger is used.
Logf logger.Logf
// Dialer optionally specifies the dialer to use for outgoing connections.
// If nil, the net package's standard dialer is used.
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)
}
Server is a SOCKS5 proxy server.
Click to show internal directories.
Click to hide internal directories.