Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Checker ¶
func NewChecker ¶
func NewChecker(hc config.HealthCheck) (Checker, error)
type HttpChecker ¶
type HttpChecker struct {
Endpoint string
Host string
Timeout time.Duration
Scheme string
InsecureSkipVerify bool
Headers map[string]string
}
func (*HttpChecker) Check ¶
func (h *HttpChecker) Check(ip string) error
type IcmpChecker ¶
func (*IcmpChecker) Check ¶
func (i *IcmpChecker) Check(ip string) error
Click to show internal directories.
Click to hide internal directories.