Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStreamDialer ¶
func NewStreamDialer(endpoint transport.StreamEndpoint) (transport.StreamDialer, error)
NewStreamDialer creates a client that routes connections to a SOCKS5 proxy listening at the given transport.StreamEndpoint.
Types ¶
type StreamDialer ¶
type StreamDialer struct {
// contains filtered or unexported fields
}
func (*StreamDialer) Dial ¶
func (c *StreamDialer) Dial(ctx context.Context, remoteAddr string) (transport.StreamConn, error)
Click to show internal directories.
Click to hide internal directories.