package
0.1.2
Repository: https://github.com/csymapp/mqtt.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New returns a new instance of MQTT server with no options.
NewServer returns a new instance of an MQTT broker with optional values where applicable.

# Constants

Version indicates the current server version.

# Variables

ErrClientDisconnect indicates that a client disconnected from the server.
ErrClientReconnect indicates that a client attempted to reconnect while still connected.
ErrConnectionFailed indicates that a client connection attempt failed for other reasons.
ErrConnectNotAuthorized indicates that the connection packet had incorrect auth values.
ErrInvalidTopic indicates that the specified topic was not valid.
ErrListenerIDExists indicates that a listener with the same id already exists.
ErrReadConnectInvalid indicates that the connection packet was invalid.
ErrRejectPacket indicates that a packet should be dropped instead of processed.
ErrServerShutdown is propagated when the server shuts down.
ErrSessionReestablished indicates that an existing client was replaced by a newly connected client.
SysTopicInterval is the number of milliseconds between $SYS topic publishes.

# Structs

Options contains configurable options for the server.
Server is an MQTT broker server.