Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultScannerConfig = ScannerConfig{ WorkerTCPConnectionsMax: 256, WorkerConfig: DefaultWorkerConfig, }
View Source
var DefaultWorkerConfig = WorkerConfig{ PingInterval: 1 * time.Minute, PingTimeout: 50 * time.Second, PingPauseInterval: 5 * time.Minute, PingRetryInterval: 10 * time.Second, PingRetryAttempts: 3, }
Functions ¶
func ParseHostPort ¶
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
type ProcessStarted ¶
type ProcessStarted struct {
ServiceID string
}
type ProcessStopped ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(cfg ScannerConfig) *Scanner
type ScannerConfig ¶
type ScannerConfig struct { // WorkerConnectionsMax limits number of parallel outbound TCP connections. WorkerTCPConnectionsMax int64 // WorkerConfig is a configuration passed to workers. WorkerConfig WorkerConfig }
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
type WorkerConfig ¶
type WorkerStarted ¶
type WorkerStopped ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.