package
0.5.1
Repository: https://github.com/lonng/nano.git
Documentation: pkg.go.dev

# Functions

Decode unmarshal the bytes slice to a message See ref: https://github.com/lonnng/nano/blob/master/docs/communication_protocol.md.
Encode marshals message to binary format.
No description provided by the author
New returns a new message instance.
No description provided by the author
SetDictionary set routes map which be used to compress route.

# Constants

Message types.
Message types.
Message types.
Message types.

# Variables

Errors that could be occurred in message codec.
Errors that could be occurred in message codec.
Errors that could be occurred in message codec.
Errors that could be occurred in message codec.

# Structs

Message represents a unmarshaled message or a message which to be marshaled.

# Type aliases

Type represents the type of message, which could be Request/Notify/Response/Push.