Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTBlaster ¶
MQTTBlaster is a virtual station that will spew messages to a given topic to be used for testing.
type MQTTBlasters ¶
type MQTTBlasters struct { Count int Blasters []*MQTTBlaster Running bool Wait int }
MQTTBlasters is a collection of blaster stations that will spew messages from each of the different stations.
func NewMQTTBlasters ¶
func NewMQTTBlasters(count int) *MQTTBlasters
NewMQTTBlasters will create a count number of blasters ready to blast MQTT messages
func (*MQTTBlasters) Blast ¶
func (mb *MQTTBlasters) Blast() error
Blast will start the configured blasters to start blasting messages.
func (*MQTTBlasters) Stop ¶
func (mb *MQTTBlasters) Stop()
Stop will cause the blasters to stop blasting.
type MsgMaker ¶
MsgMaker creates messages to be used by the mqtt blaster for smoke testing the messaging subsystem
type WeatherData ¶
WeatherData is the content contained in the message used by the blaster
Click to show internal directories.
Click to hide internal directories.