Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + type ByteOrder int + const BigEndian + const LittleEndian + func (bo ByteOrder) String() string + type ChecksumConfig struct + Algorithm string + CoverFields []string + type ConditionExpr struct + FieldName string + Operator string + Value any + type EmbedDef struct + Condition *ConditionExpr + ProtocolName string + type EnumDef struct + Name string + Values map[int64]string + type ExprKind int + const ExprBinary + const ExprFieldRef + const ExprLiteral + const ExprUnary + type Expression struct + FieldRef string + Kind ExprKind + Left *Expression + Operator string + Right *Expression + Value int64 + type FieldDef struct + BitWidth int + BitfieldFields []FieldDef + ByteOrder *ByteOrder + Checksum *ChecksumConfig + Condition *ConditionExpr + DefaultValue any + DisplayFormat string + EnumMap map[int]string + FixedLength int + IsBitfieldGroup bool + LengthRef *LengthRef + Name string + RangeMax *int64 + RangeMin *int64 + Type FieldType + type FieldType int + const Bool + const Bytes + const Int + const String + const Uint + func (ft FieldType) String() string + type GenericParam struct + Constraint string + Name string + type GenericType struct + Fields []FieldDef + Name string + Params []GenericParam + type LengthRef struct + FieldName string + Offset int + Scale int + type MessageDef struct + Fields []MessageFieldDef + Kind string + Name string + Response *MessageDef + type MessageFieldDef struct + Fields []MessageFieldDef + ItemType *MessageFieldDef + Name string + Optional bool + Type MessageFieldType + type MessageFieldType int + const MsgArray + const MsgBoolean + const MsgNumber + const MsgObject + const MsgString + func (ft MessageFieldType) String() string + type MessageSchema struct + Messages []MessageDef + Name string + Transport string + TransportDef *TransportDef + TransportVer *string + Version string + type MessageTypeDef struct + Fields []TransportFieldDef + Name string + ResponseDef *MessageTypeDef + type ModuleDef struct + Constants map[string]int64 + Imports []UseStatement + Name string + Protocols []string + Public bool + Types map[string]*TypeAlias + type PSL2Extensions struct + Enums []EnumDef + Expressions map[string]*Expression + Generics []GenericType + Module *ModuleDef + Unions []UnionType + type ProtocolSchema struct + Constants map[string]int64 + DefaultByteOrder ByteOrder + Extends string + Fields []FieldDef + Imports []string + Name string + TypeAliases map[string]*TypeAlias + Version string + type TransportDef struct + MessageTypes []MessageTypeDef + Name string + Version string + type TransportFieldDef struct + AutoValue bool + DefaultValue any + Fields []TransportFieldDef + Name string + Optional bool + Type MessageFieldType + type TypeAlias struct + BaseType FieldType + BitWidth int + DisplayFormat string + FixedLength int + Name string + type UnionType struct + Name string + Options []string + type UseStatement struct + Module string + Names []string + type Visibility int + const Private + const Public