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

# Functions

New returns an instance of Clients.
NewClient returns a new instance of Client.
NewClientStub returns an instance of Client with basic initializations.

# Variables

ErrConnectionClosed is returned when operating on a closed connection and/or when no error cause has been given.

# Structs

Client contains information about a client known by the broker.
Clients contains a map of the clients known by the broker.
Inflight is a map of InflightMessage keyed on packet id.
InflightMessage contains data about a packet which is currently in-flight.
LWT contains the last will and testament details for a client connection.
State tracks the state of the client.