Documentation ¶
Index ¶
Constants ¶
View Source
const ( HttpTimeout = 10 CacheTimeout = 172800 )
Timeout and URI templates for DNS resolutions external services
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolution ¶
Resolution structure
type Resolutions ¶
type Resolutions []Resolution
Resolutions structure sorted by LastResolved
func GetDnsRes ¶
func GetDnsRes(ipAddressOrDomain string) Resolutions
GetDnsRes returns the DNS resolutions of an ip address or domain
func (Resolutions) Len ¶
func (slice Resolutions) Len() int
func (Resolutions) Less ¶
func (slice Resolutions) Less(i, j int) bool
func (Resolutions) Swap ¶
func (slice Resolutions) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.