Versions in this module Expand all Collapse all v1 v1.6.0 Oct 2, 2026 Changes in this version + type HopError struct + Err error + Handshake bool + Hop string + func (e *HopError) Error() string + func (e *HopError) Unwrap() error v1.5.0 Sep 23, 2026 Changes in this version + func Parse(s string) ([]*url.URL, error) + func Redact(u *url.URL) string + type ConnectError struct + Header http.Header + Hop string + Next string + Status int + func (e *ConnectError) Error() string + type DialFunc func(ctx context.Context, network, addr string) (net.Conn, error) + type Dialer struct + func NewDialer(hops []*url.URL, dial DialFunc, tlsConfig func() *tls.Config) *Dialer + func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error)