This commit is contained in:
crusader
2017-11-18 00:12:38 +09:00
parent bc3790375a
commit 6ac80b1a88
6 changed files with 187 additions and 148 deletions

View File

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