数据 输入输出 处理
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.
 
 

27 lines
516 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"`
CronStr string `json:"cronStr"`
}
type OUT struct {
Mqtt config.MqttConfig `json:"mqtt"`
}
// 缓存用
type RecordInfo struct {
Id int64 `json:"id"`
TableName string `json:"table_name"`
}