package
0.2.1
Repository: https://github.com/upsub/dispatcher.git
Documentation: pkg.go.dev

# Functions

Create a new message.
Decode from byte array to Message.
Encode Message to a byte array.
Json return a new json message.
Ping return a new ping message.
Pong returns a new pong message.
ResponseAction return a new response action.
Text return a new text message.

# Constants

BATCH message type.
JSON message type.
PING message type.
PONG message type.
SUBSCRIBE message type.
TEXT message type.
UNSUBSCRIBE message type.

# Structs

Message structure.

# Type aliases

Header is a map of the message headers.