13 lines
380 B
Go
13 lines
380 B
Go
package sensorconfig
|
|
|
|
import "encoding/json"
|
|
|
|
type SensorConfig struct {
|
|
SensorID json.Number `json:"sensorID,omitempty"`
|
|
|
|
Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
|
|
Crawler *SensorConfigCrawler `json:"crawler,omitempty"`
|
|
Connection *SensorConfigConnection `json:"connection,omitempty"`
|
|
Items *SensorConfigItems `json:"items,omitempty"`
|
|
}
|