mqtt_notification_gateway

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(broker, topic string, client mqtt.Client) gateway.Notification

Types

type MqttGateway

type MqttGateway struct {
	// contains filtered or unexported fields
}

func (*MqttGateway) Endpoint

func (g *MqttGateway) Endpoint() notification.Endpoint

func (*MqttGateway) SendMessage

func (g *MqttGateway) SendMessage(ctx context.Context, message string) error

func (*MqttGateway) Type added in v0.0.10

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL