You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
360 B
20 lines
360 B
package SinoGnssMySQL
|
|
|
|
import "goInOut/config"
|
|
|
|
type ConfigFile struct {
|
|
config.Consumer
|
|
IoConfig ioConfig `json:"ioConfig"`
|
|
OtherInfo map[string]string `json:"info"`
|
|
}
|
|
type ioConfig struct {
|
|
In In `json:"in"`
|
|
Out OUT `json:"out"`
|
|
}
|
|
type In struct {
|
|
Db config.DbConfig `json:"db"`
|
|
}
|
|
|
|
type OUT struct {
|
|
Mqtt config.MqttConfig `json:"mqtt"`
|
|
}
|
|
|