This commit is contained in:
PandaX
2023-11-08 09:21:08 +08:00
parent 6bdc4b1dd6
commit 85c5741b90
3 changed files with 10 additions and 8 deletions

View File

@@ -1,8 +1,9 @@
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"`
Broker string `mapstructure:"broker" json:"broker" yaml:"broker"`
HttpBroker string `mapstructure:"httpBroker" json:"httpBroker" yaml:"httpBroker"`
Qos int `mapstructure:"qos" json:"qos" yaml:"qos"`
Username string `mapstructure:"username" json:"username" yaml:"username"`
Password string `mapstructure:"password" json:"password" yaml:"password"`
}