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 // Server is the server that resolves hostname. Server string // Type is the DNS record type // Default is A record. Type RecordType // RequestTimeout is the duration that health check will try to consume published test message. // Default is 5 seconds. RequestTimeout time.Duration // FallbackDelay // Default is the value from net.Dialer struct (300ms). FallbackDelay time.Duration }
Config is the DNS checker configuration settings container.
type RecordType ¶
type RecordType string
const ( RecordTypeA RecordType = "a" RecordTypeCNAME RecordType = "cname" RecordTypePTR RecordType = "ptr" RecordTypeTXT RecordType = "txt" )
Click to show internal directories.
Click to hide internal directories.