Expand description
Data structures representing the mux protocol.
Package mux implements a generic RPC multiplexer with a rich protocol. Mux is itself encoding independent, so it is meant to use as the transport for other RPC systems (eg. thrift). In OSI terminology, it is a pure session layer.
Modules§
- codec
- Codec functions for encoding and decoding mux frames.
- types
- Wire identification tag of the mux message types.
Structs§
- Dentry
- Single entry of the
Dtab - Dtab
- Delegate table.
- Init
- Representation of a mux
TinitandRinitframe. - Message
- Representation of an entire mux packet.
- Rdispatch
- Representation of a mux
Rdispatchframe. - Rerr
- Representation of a mux
Rerrframe. - Tag
- Id number and end flag for message frames.
- Tdiscarded
- Representation of a mux
Tdiscardedframe. - Tdispatch
- Representation of a mux
Tdispatchframe. - Tlease
- Representation of a mux
Tleaseframe. - Treq
- Representation of the mux
Treqtypes.
Enums§
- Message
Frame - Type wrapper for the mux packet representations.
- Rmsg
- Representation of a mux
RreqandRdispatchmessage body.
Constants§
- MAX_TAG
- Maximum value of a mux Tag