Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mqtt5Consumer ¶
type Mqtt5Consumer struct {
Id int
Connection *autopaho.ConnectionManager
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewMqtt5Consumer ¶
func (Mqtt5Consumer) Start ¶
func (c Mqtt5Consumer) Start(consumerReady chan bool)
func (Mqtt5Consumer) Stop ¶
func (c Mqtt5Consumer) Stop(reason string)
type Mqtt5Publisher ¶
type Mqtt5Publisher struct {
Id int
Connection *autopaho.ConnectionManager
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewMqtt5Publisher ¶
func (*Mqtt5Publisher) Connect ¶
func (p *Mqtt5Publisher) Connect()
func (Mqtt5Publisher) Send ¶
func (p Mqtt5Publisher) Send()
func (Mqtt5Publisher) Start ¶
func (p Mqtt5Publisher) Start(publisherReady chan bool, startPublishing chan bool)
func (Mqtt5Publisher) StartPublishing ¶ added in v0.24.0
func (p Mqtt5Publisher) StartPublishing() string
func (Mqtt5Publisher) Stop ¶
func (p Mqtt5Publisher) Stop(reason string)
type MqttConsumer ¶
type MqttConsumer struct {
Id int
Connection mqtt.Client
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewMqttConsumer ¶
func (MqttConsumer) Start ¶
func (c MqttConsumer) Start(cosumerReady chan bool)
func (MqttConsumer) Stop ¶
func (c MqttConsumer) Stop(reason string)
type MqttPublisher ¶
type MqttPublisher struct {
Id int
Connection mqtt.Client
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewMqttPublisher ¶
func (*MqttPublisher) Connect ¶
func (p *MqttPublisher) Connect()
func (MqttPublisher) Send ¶
func (p MqttPublisher) Send()
func (MqttPublisher) Start ¶
func (p MqttPublisher) Start(publisherReady chan bool, startPublishing chan bool)
func (MqttPublisher) StartPublishing ¶ added in v0.24.0
func (p MqttPublisher) StartPublishing() string
func (MqttPublisher) Stop ¶
func (p MqttPublisher) Stop(reason string)
Click to show internal directories.
Click to hide internal directories.