Documentation ¶
Overview ¶
Package transportmux wraps a transport.{Connecter,AuthenticatedListener} to distinguish different connection types based on a label sent from client to server on connection establishment.
Labels are plain text and fixed length.
Index ¶
Constants ¶
View Source
const LabelLen = 64
Exact length of a label in bytes (0-byte padded if it is shorter). This is a protocol constant, changing it breaks the wire protocol.
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.