Versions in this module Expand all Collapse all v0 v0.12.1 Jul 3, 2025 Changes in this version + var ErrTimeout = errors.New("connection timed out") v0.12.0 Apr 6, 2025 Changes in this version + const BufferSize + const TLSHeaderLen + func ReadBytes(ctx context.Context, conn *net.TCPConn, dest []byte) ([]byte, error) + func Serve(ctx context.Context, from *net.TCPConn, to *net.TCPConn, proto string, ...) + type Handler interface + Serve func(ctx context.Context, lConn *net.TCPConn, pkt *packet.HttpRequest, ip string) + type Proxy struct + func New(config *util.Config) *Proxy + func (pxy *Proxy) Start(ctx context.Context)