mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 03:51:25 +08:00
iot init
This commit is contained in:
8
pkg/config/mqtt.go
Normal file
8
pkg/config/mqtt.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package config
|
||||
|
||||
type Mqtt struct {
|
||||
Broker string `mapstructure:"broker" json:"broker" yaml:"broker"`
|
||||
Qos int `mapstructure:"qos" json:"qos" yaml:"qos"`
|
||||
Username string `mapstructure:"username" json:"username" yaml:"username"`
|
||||
Password string `mapstructure:"password" json:"password" yaml:"password"`
|
||||
}
|
||||
Reference in New Issue
Block a user