Versions in this module Expand all Collapse all v0 v0.1.11 Oct 3, 2023 v0.1.10 Oct 2, 2023 Changes in this version + var ErrTypeAlreadyDefined = errors.New("message type is already defined") + var ErrUnknownType = errors.New("message type unknown") + type Definition struct + ID Type + MaxBytesLength uint16 + VariableLength bool + type Registry struct + func NewRegistry(defs []*Definition) *Registry + func (r *Registry) DefinitionForType(msgType Type) (*Definition, error) + func (r *Registry) Definitions() []*Definition + type Type byte