Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProxyEnvVar string = "HTTP_PROXY" Nameserver string = "8.8.4.4:53" DialerTimeout time.Duration = time.Millisecond * time.Duration(10000) )
Variables ¶
This section is empty.
Functions ¶
func NewHttpClient ¶
NewHttpClient returns an initialized HTTP Client that uses an external nameserver to help avoid negative caching and if detected will make use of any proxy found in the environment
func NewResolver ¶
NewResolver returns an initialized Resolver that uses an external nameserver to help avoid negative caching
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.