Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager starts and stops pinger instances based on configuration and DNS responses
func NewManager ¶
func NewManager(hist *prometheus.HistogramVec, conf ManagerConfig) *Manager
NewManager returns a new instance of a ping Manager
type ManagerConfig ¶
type ManagerConfig struct { Source string DNSTargets []string IPTargets []string UpdateInterval time.Duration PingInterval time.Duration PingTimeout time.Duration }
ManagerConfig contains configuration of the Manager
Click to show internal directories.
Click to hide internal directories.