Versions in this module Expand all Collapse all v0 v0.5.10 Aug 9, 2023 v0.5.9 Aug 4, 2023 Changes in this version + var ErrTypeAlreadyDefined = errors.New("message type is already defined") + var ErrUnknownType = errors.New("message type unknown") + func RegisterType(msgType Type, def *Definition) error + type Definition struct + ID Type + MaxBytesLength uint16 + VariableLength bool + func DefinitionForType(msgType Type) (*Definition, error) + func Definitions() []*Definition + type Type byte