Versions in this module Expand all Collapse all v0 v0.5.0 Apr 18, 2026 Changes in this version + func Run(ctx context.Context, client, remote net.Conn, opt Options) error + type Listener struct + KeepAlive time.Duration + func NewListener(addr string, keepAlive time.Duration) (*Listener, error) + func (l *Listener) Accept() (net.Conn, error) + type Options struct + IdleTimeout time.Duration + OnBytes func(tx, rx uint64)