package
1.5.0
Repository: https://github.com/wind-c/comqtt.git
Documentation: pkg.go.dev

# Functions

New returns an instance of Clients.
No description provided by the author
NewClient returns a new instance of Client.
NewClientStub returns an instance of Client with basic initializations.
No description provided by the author

# 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.
InflightCache is a cache of InflightMessage keyed on packet id.
InflightMap 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.

# Interfaces

Inflight is an interface of for storing and manipulating inflight messages.