mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[优化]
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user