Documentation ¶ Index ¶ type Dialer func (d *Dialer) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) type Error func (e *Error) Temporary() bool func (e *Error) Timeout() bool func (e *Error) Unwrap() error type Listener func (l *Listener) Accept() (net.Conn, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Dialer ¶ type Dialer struct { N.Dialer } func (*Dialer) DialContext ¶ func (d *Dialer) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) type Error ¶ added in v1.2.0 type Error struct { // contains filtered or unexported fields } func (*Error) Temporary ¶ added in v1.2.0 func (e *Error) Temporary() bool func (*Error) Timeout ¶ added in v1.2.0 func (e *Error) Timeout() bool func (*Error) Unwrap ¶ added in v1.2.0 func (e *Error) Unwrap() error type Listener ¶ type Listener struct { net.Listener AcceptNoHeader bool } func (*Listener) Accept ¶ func (l *Listener) Accept() (net.Conn, error) Source Files ¶ View all Source files dialer.go listener.go Click to show internal directories. Click to hide internal directories.