forked from OpenPDU/openpdu
new source promoted
This commit is contained in:
13
source/mqtt.go
Normal file
13
source/mqtt.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
// MQTTConfig def
|
||||
type MQTTConfig struct {
|
||||
BrokerIP string `json:"ip"`
|
||||
BrokerPort string `json:"port"`
|
||||
ClientID string `json:"clientid"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
CleanSession bool `json:"cleansession"`
|
||||
Topic string `json:"topic"`
|
||||
HomeAssistant bool `json:"homeassistant"`
|
||||
}
|
||||
Reference in New Issue
Block a user