This commit is contained in:
crusader 2018-04-19 14:42:41 +09:00
parent 572ab7844e
commit 9b9325a126

View File

@ -4,6 +4,7 @@ import "encoding/json"
type SensorConfig struct { type SensorConfig struct {
ID json.Number `json:"id,Number,omitempty"` ID json.Number `json:"id,Number,omitempty"`
ConfigID string `json:"configID,omitempty"`
Target *Target `json:"target,omitempty"` Target *Target `json:"target,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"` Schedule *Schedule `json:"schedule,omitempty"`
Crawler *Crawler `json:"crawler,omitempty"` Crawler *Crawler `json:"crawler,omitempty"`