netutil

package
v2.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2015 License: Apache-2.0 Imports: 4 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveTCPAddrs

func ResolveTCPAddrs(urls ...[]url.URL) error

ResolveTCPAddrs is a convenience wrapper for net.ResolveTCPAddr. ResolveTCPAddrs resolves all DNS hostnames in-place for the given set of url.URLs.

func URLStringsEqual

func URLStringsEqual(a []string, b []string) bool

func URLsEqual

func URLsEqual(a []url.URL, b []url.URL) bool

URLsEqual checks equality of url.URLS between two arrays. This check pass even if an URL is in hostname and opposite is in IP address.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL