Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMinimumUpdateInterval = time.Second * 600 // 10 min DefaultMaximumUpdateInterval = time.Second * 3600 // 1 hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct { // Fqdn is the fully qualified domain name that needs to be resolved. Fqdn string // Upstream for this Bootstrap to send queries to. Upstream upstream.Upstream // Mode specifies whether this Bootstrap works on IPv4 or IPv6. // A zero value Mode is invalid. Mode BootstrapMode // MinimumUpdateInterval specifies the minimum update interval. // Default is DefaultMinimumUpdateInterval. MinimumUpdateInterval time.Duration // MaximumUpdateInterval specifies the maximum update interval. // Default is DefaultMaximumUpdateInterval. MaximumUpdateInterval time.Duration Logger *zap.Logger // contains filtered or unexported fields }
type BootstrapMode ¶
type BootstrapMode int
const ( BootstrapModeInvalid BootstrapMode = iota BootstrapModeV4 BootstrapModeV6 )
BootstrapMode
Click to show internal directories.
Click to hide internal directories.