Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNameResolution = errors.New("failed to resolve any hostname IPs")
)
View Source
var Resolver = net.DefaultResolver
Functions ¶
func ResolveHostnameIPs ¶
func ValidateHostnameUniqueness ¶
ValidateHostnameUniqueness Validate that the given hostname resolves to at most 1 ip per ip version.
Types ¶
type ResolverError ¶
type ResolverError struct {
// contains filtered or unexported fields
}
func (*ResolverError) Error ¶
func (r *ResolverError) Error() string
Click to show internal directories.
Click to hide internal directories.