Documentation ¶
Overview ¶
Package resolver provides a caching, non-blocking DNS resolver. All requests for cached resources are returned immediately and if cache has expired, an offline goroutine is fired to update it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver provides an asynchronous caching DNS resolver.
func NewWithResolve ¶ added in v0.10.8
NewWithResolve returns a new Resolver with the given backend resolver. This is useful for testing.
Click to show internal directories.
Click to hide internal directories.