Documentation ¶
Index ¶
- Constants
- Variables
- func Publish(topic string, payload any) paho.Token
- func Shutdown() error
- func Startup() error
- func Subscribe(filter string, cb func(topic string, payload []byte)) paho.Token
- func SubscribeExt[T any](filter string, cb func(topic string, value *T))
- func SubscribeStruct[T any](filter string, cb func(topic string, data *T)) paho.Token
Constants ¶
View Source
const MODULE = "mqtt"
Variables ¶
View Source
var Client paho.Client
Functions ¶
func SubscribeExt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.