Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Address is the IP address or hostname that is being checked. Address string // Count is the number of ICMP packets to send to the Address // Default is 1 packet. Count int // Interval is the wait time between each packet send. // Default is the value from probing.Pinger struct (1 second). Interval time.Duration // RequestTimeout is the duration that health check will try to consume published test message. // Default is the value from probing.Pinger struct (5 seconds). RequestTimeout time.Duration }
Config is the ICMP checker configuration settings container.
Click to show internal directories.
Click to hide internal directories.