overflow_discovery/net/config.go

30 lines
633 B
Go
Raw Normal View History

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