Versions in this module Expand all Collapse all v0 v0.1.0 Nov 18, 2026 Changes in this version + type AcceptOption interface + type Client struct + func Connect(url string, options ...ConnectOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) Listen(network, address string) (*Listener, error) + type ClientObserver interface + TunnelEnded func(err error) + TunnelFailed func(err error) + TunnelOpened func() + type ConnectOption interface + func WithBackoff(f func(n int, err error) time.Duration) ConnectOption + func WithClientObserver(o ClientObserver) ConnectOption + func WithHTTPClient(c *http.Client) ConnectOption + func WithHeader(h http.Header) ConnectOption + type Dialer struct + func Accept(w http.ResponseWriter, r *http.Request, options ...AcceptOption) (*Dialer, error) + func (d *Dialer) Close() error + func (d *Dialer) DialContext(ctx context.Context, network, address string) (net.Conn, error) + func (d *Dialer) Done() <-chan struct{} + func (d *Dialer) Err() error + type Listener struct + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + type Option interface + func WithKeepAliveInterval(d time.Duration) Option + func WithKeepAliveTimeout(d time.Duration) Option