Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TokenWaitTime to wait TokenWaitTime = 120 * time.Second )
Functions ¶
func CheckClientToken ¶
CheckClientToken checks token is right
func HubClientInit ¶
func HubClientInit(server, clientID, username, password string) *MQTT.ClientOptions
func LoopConnect ¶
LoopConnect connect to mqtt server
Types ¶
Click to show internal directories.
Click to hide internal directories.