Directories
¶
| Path | Synopsis |
|---|---|
|
Package dummymqttd can be used to simulate MODE's MQTT server for testing.
|
Package dummymqttd can be used to simulate MODE's MQTT server for testing. |
|
examples
|
|
|
echo
command
In this example, the device sends an "echo" event whenever it receives a "doEcho" command.
|
In this example, the device sends an "echo" event whenever it receives a "doEcho" command. |
|
websocket_echo
command
In this example, the device connects to the MQTT server via WebSocket.
|
In this example, the device connects to the MQTT server via WebSocket. |
|
internal
|
|
|
packet
Package packet implements functionality for encoding and decoding MQTT 3.1.1 (http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/) packets.
|
Package packet implements functionality for encoding and decoding MQTT 3.1.1 (http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/) packets. |
|
Package mode is the Go API for devices to interact with the MODE cloud.
|
Package mode is the Go API for devices to interact with the MODE cloud. |
Click to show internal directories.
Click to hide internal directories.