This commit is contained in:
XM-GO
2023-08-22 15:17:14 +08:00
parent 85f4f328f4
commit 4344771547
143 changed files with 13004 additions and 6957 deletions

8
pkg/config/mqtt.go Normal file
View 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"`
}