Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + const DefaultHelloTimeout + const DefaultMaxPending + const MaxHello + const Suffix + var ErrKeyMismatch = errors.New("handoff: fiber key does not match its pin") + var ErrMalformed = errors.New("handoff: malformed ClientHello") + var ErrNoServerName = errors.New("handoff: ClientHello has no server name") + var ErrNotTLS = errors.New("handoff: not a TLS ClientHello") + var ErrShort = errors.New("handoff: ClientHello incomplete") + var ErrUnknownRoute = errors.New("handoff: unknown routing key") + func ClientConfig(routingKey, serverKeySHA256 string, cert tls.Certificate) *tls.Config + func KeyPin(spki []byte) string + func ServerName(b []byte) (string, error) + type Identity struct + Cert []byte + CertPEM []byte + KeyPEM []byte + KeySHA256 string + func Derive(master []byte, grantUID string) (Identity, error) + type Router struct + Advertise string + Deliver func(fiberID string, conn *os.File) error + HelloTimeout time.Duration + MaxPending int + func (r *Router) Add(fiberID string) (string, error) + func (r *Router) Key(fiberID string) (string, bool) + func (r *Router) Remove(fiberID string) + func (r *Router) Serve(l net.Listener) error + func (r *Router) Stats() Stats + type Stats struct + Refused uint64 + Routed uint64 v0.4.0-rc.1 Nov 6, 2026