Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevicesFromJSON ¶ added in v0.5.3
DevicesFromJSON creates fake devices on the broker based on the devices defined in a JSON file When you run the returned cleanup function it will delete the devices. Note that unless you then also close the transport it might still announce the device(s) when it receives a discover.
func MQTTAddress ¶ added in v0.5.1
MQTTAddress is a helper function that will try to connect to an MQTT broker on MQTT_ADDRESS and if successful return the address. It should only be used in Bibliotek's own tests or other Hemtjanst component tests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.