Documentation ¶
Index ¶
- func GetCapsuleMqttClientId() string
- func GetCapsuleMqttConn() (mqtt.Client, error)
- func GetCapsuleMqttServer() string
- func GetCapsuleMqttTopic() string
- func InitMqttConn(mqttSrv, mqttClientId string, messageHandler mqtt.MessageHandler) (mqtt.Client, error)
- func SetCapsuleMqttClientId(clientId string)
- func SetCapsuleMqttServer(mqttSrv string)
- func SetCapsuleMqttTopic(topic string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCapsuleMqttClientId ¶
func GetCapsuleMqttClientId() string
func GetCapsuleMqttConn ¶
func GetCapsuleMqttServer ¶
func GetCapsuleMqttServer() string
func GetCapsuleMqttTopic ¶
func GetCapsuleMqttTopic() string
func InitMqttConn ¶
func SetCapsuleMqttClientId ¶
func SetCapsuleMqttClientId(clientId string)
func SetCapsuleMqttServer ¶
func SetCapsuleMqttServer(mqttSrv string)
func SetCapsuleMqttTopic ¶
func SetCapsuleMqttTopic(topic string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.