Versions in this module Expand all Collapse all v0 v0.1.0 Jul 28, 2026 Changes in this version + const ReasonALPN + const ReasonCipher + const ReasonClientAuth + const ReasonConnUnusable + const ReasonFeatureDisabled + const ReasonFraming + const ReasonHandshakeError + const ReasonKernel + const ReasonPanic + const ReasonSecrets + const ReasonSetsockopt + const ReasonTLSVersion + func Available() bool + func OffloadErrno(err error) string — linux/amd64 + func OffloadErrno(error) string — darwin/amd64, js/wasm, windows/amd64 + type Conn interface + ConnectionState func() tls.ConnectionState + NetConn func() net.Conn + type Listener struct + func NewListener(inner net.Listener, cfg *tls.Config, opts ...Option) *Listener + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + type Option func(*Listener) + func WithHandshakeTimeout(d time.Duration) Option + func WithObserver(...) Option + func WithOffloadGate(fn func() bool) Option