Documentation
¶
Index ¶
- type Consumer
- type Mqtt5Consumer
- type Mqtt5Publisher
- func (p Mqtt5Publisher) Send()
- func (p Mqtt5Publisher) Start(ctx context.Context)
- func (p Mqtt5Publisher) StartFullSpeed(ctx context.Context)
- func (p Mqtt5Publisher) StartIdle(ctx context.Context)
- func (p Mqtt5Publisher) StartRateLimited(ctx context.Context)
- func (p Mqtt5Publisher) Stop(reason string)
- type MqttConsumer
- type MqttPublisher
- type Publisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mqtt5Consumer ¶ added in v0.17.0
type Mqtt5Consumer struct { Id int Connection *autopaho.ConnectionManager Topic string Config config.Config }
func (Mqtt5Consumer) Start ¶ added in v0.17.0
func (c Mqtt5Consumer) Start(ctx context.Context, subscribed chan bool)
func (Mqtt5Consumer) Stop ¶ added in v0.17.0
func (c Mqtt5Consumer) Stop(reason string)
type Mqtt5Publisher ¶ added in v0.17.0
type Mqtt5Publisher struct { Id int Connection *autopaho.ConnectionManager Topic string Config config.Config // contains filtered or unexported fields }
func (Mqtt5Publisher) Send ¶ added in v0.17.0
func (p Mqtt5Publisher) Send()
func (Mqtt5Publisher) Start ¶ added in v0.17.0
func (p Mqtt5Publisher) Start(ctx context.Context)
func (Mqtt5Publisher) StartFullSpeed ¶ added in v0.17.0
func (p Mqtt5Publisher) StartFullSpeed(ctx context.Context)
func (Mqtt5Publisher) StartIdle ¶ added in v0.17.0
func (p Mqtt5Publisher) StartIdle(ctx context.Context)
func (Mqtt5Publisher) StartRateLimited ¶ added in v0.17.0
func (p Mqtt5Publisher) StartRateLimited(ctx context.Context)
func (Mqtt5Publisher) Stop ¶ added in v0.17.0
func (p Mqtt5Publisher) Stop(reason string)
type MqttConsumer ¶
func (MqttConsumer) Stop ¶ added in v0.3.0
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 (MqttPublisher) Send ¶ added in v0.2.0
func (p MqttPublisher) Send()
func (MqttPublisher) Start ¶
func (p MqttPublisher) Start(ctx context.Context)
func (MqttPublisher) StartFullSpeed ¶
func (p MqttPublisher) StartFullSpeed(ctx context.Context)
func (MqttPublisher) StartIdle ¶ added in v0.5.0
func (p MqttPublisher) StartIdle(ctx context.Context)
func (MqttPublisher) StartRateLimited ¶
func (p MqttPublisher) StartRateLimited(ctx context.Context)
func (MqttPublisher) Stop ¶ added in v0.3.0
func (p MqttPublisher) Stop(reason string)
Click to show internal directories.
Click to hide internal directories.