Documentation
¶
Overview ¶
Package magic is a simple specification and error helper for message identifying 4 byte strings that are used for the switching logic of a relay.
Index ¶
Constants ¶
View Source
const ( // Len is the length in bytes of the magic bytes that prefixes all Indra // messages. Len = 4 // ErrTooShort is an error for codec.Codec implementations to signal a message // buffer is shorter than the minimum defined for the message type. ErrTooShort = "'%s' message minimum size: %d got: %d" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.