Versions in this module Expand all Collapse all v0 v0.4.0 Dec 10, 2018 Changes in this version + const Notify + const Push + const Request + const Response + var ErrInvalidMessage = errors.New("invalid message") + var ErrRouteInfoNotFound = errors.New("route info not found in dictionary") + var ErrWrongMessageType = errors.New("wrong message type") + func Encode(m *Message) ([]byte, error) + func SetDictionary(dict map[string]uint16) + type Message struct + Data []byte + ID uint + Route string + Type Type + func Decode(data []byte) (*Message, error) + func New() *Message + func (m *Message) Encode() ([]byte, error) + func (m *Message) String() string + type Type byte