Documentation
¶
Overview ¶
Package mqtttest is a very small MQTT 3.1.1 broker for tests in other packages, so scripts can be tested without a real broker. It is only imported by tests, so it is not part of the vegaload binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// User and Pass, when User is not empty, are the login the broker asks for.
User, Pass string
// contains filtered or unexported fields
}
Broker is just enough MQTT 3.1.1 for these tests: CONNECT, SUBSCRIBE and PUBLISH (QoS 0 and 1) with exact topic matching, and optional login.
Click to show internal directories.
Click to hide internal directories.