Documentation ¶ Index ¶ func InitBus(ctx context.Context, mqttHost, topic, clientId string, ...) (*autopaho.ConnectionManager, error) func Publish(ctx context.Context, topic, message string, c *autopaho.ConnectionManager) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitBus ¶ func InitBus(ctx context.Context, mqttHost, topic, clientId string, f func(pr paho.PublishReceived) (bool, error)) (*autopaho.ConnectionManager, error) func Publish ¶ func Publish(ctx context.Context, topic, message string, c *autopaho.ConnectionManager) Types ¶ This section is empty. Source Files ¶ View all Source files events.go Click to show internal directories. Click to hide internal directories.