Versions in this module Expand all Collapse all v3 v3.0.1 Dec 12, 2020 v3.0.0 Dec 7, 2020 Changes in this version + const MSG_COMPRESS_ROUTE_MASK + const MSG_FLAG_BYTES + const MSG_ROUTE_CODE_BYTES + const MSG_ROUTE_CODE_MAX + const MSG_TYPE_MASK + const TYPE_NOTIFY + const TYPE_PUSH + const TYPE_REQUEST + const TYPE_RESPONSE + func Decode(buffer []byte) (id int, msgType int, route uint16, body []byte) + func Encode(id int, msgType int, route uint16, msg []byte) []byte