This commit is contained in:
crusader 2017-11-15 19:44:56 +09:00
parent b7c7437840
commit d762e69015

View File

@ -7,7 +7,7 @@ type DiscoveryZone struct {
} }
type DiscoveryHost struct { type DiscoveryHost struct {
Zone Zone `json:"zone"` Zone *Zone `json:"zone"`
FirstScanRange string `json:"firstScanRange"` FirstScanRange string `json:"firstScanRange"`
LastScanRange string `json:"lastScanRange"` LastScanRange string `json:"lastScanRange"`
@ -17,7 +17,7 @@ type DiscoveryHost struct {
} }
type DiscoveryPort struct { type DiscoveryPort struct {
Host Host `json:"host"` Host *Host `json:"host"`
FirstScanRange int `json:"firstScanRange"` FirstScanRange int `json:"firstScanRange"`
LastScanRange int `json:"lastScanRange"` LastScanRange int `json:"lastScanRange"`
@ -27,7 +27,7 @@ type DiscoveryPort struct {
} }
type DiscoveryService struct { type DiscoveryService struct {
Port Port `json:"port"` Port *Port `json:"port"`
IncludeServices []string `json:"includeServices"` IncludeServices []string `json:"includeServices"`
} }