30 lines
633 B
Go
Raw Normal View History

2017-10-20 18:09:07 +09:00
package net
2017-10-26 21:55:55 +09:00
import (
"git.loafle.net/overflow/overflow_discovery/net/model"
)
2017-10-20 18:09:07 +09:00
type DiscoveryConfig struct {
2017-10-26 21:55:55 +09:00
ZoneConfig *DiscoveryZoneConfig
HostConfig *DiscoveryHostConfig
PortConfig *DiscoveryPortConfig
ServiceConfig *DiscoveryServiceConfig
2017-10-20 18:09:07 +09:00
}
type DiscoveryZoneConfig struct {
2017-10-26 21:55:55 +09:00
ExcludePatterns []string `json:"excludePatterns"`
2017-10-20 18:09:07 +09:00
}
type DiscoveryHostConfig struct {
2017-10-26 21:55:55 +09:00
DiscoveryZone model.DiscoveryZone
FirstScanRange int `json:"firstScanRange"`
LastScanRange int `json:"lastScanRange"`
ExcludeHosts []int `json:"excludeHosts"`
2017-10-20 18:09:07 +09:00
}
type DiscoveryPortConfig struct {
}
type DiscoveryServiceConfig struct {
}