package WJHP import "goUpload/config" type ConfigFile struct { config.Consumer IOConfig UserConfig `json:"ioConfig"` SensorConfig SensorConfig `json:"sensors"` } type UserConfig struct { InMqtt config.MqttConfig `json:"inMqtt"` OutHttpPost config.HttpConfig `json:"outHttp"` } type SensorConfig struct { SjwySensorInfo map[string]SensorInfo `json:"sjwySensorInfo"` } type SensorInfo struct { StationId int `json:"stationId"` AppKey string `json:"appKey"` MonitorType string `json:"monitorType"` }