Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
Listener net.Listener
RemoteAddr string
DialContext func(ctx context.Context, network, address string) (net.Conn, error)
OnError func(error)
// contains filtered or unexported fields
}
Proxy proxies local connections to a remote TCP address optionally using a custom dialer.
Click to show internal directories.
Click to hide internal directories.