commons-go/sensorconfig/model/SensorConfig.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

12 lines
313 B
Go

package model
import "encoding/json"
type SensorConfig struct {
ID json.Number `json:"id,Number,omitempty"`
Target *Target `json:"target,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
Crawler *Crawler `json:"crawler,omitempty"`
Items []Item `json:"items,omitempty"`
}