package
0.0.0-20141028180250-bec190371233
Repository: https://github.com/dallanq/vitess.git
Documentation: pkg.go.dev
# Functions
FullyQualifiedHostname returns the full hostname with domain.
FullyQualifiedHostnameOrPanic is the same as FullyQualifiedHostname but panics in case of error.
ResolveAddr can resolve an address where the host has been left blank, like ":3306".
ResolveIpAddr resolves the address:port part into an IP address:port pair.
ResolveIpAddr resolves the address:port part into an IP address:port pair.
SortRfc2782 reorders SRV records as specified in RFC 2782.
SplitHostPort is an extension to net.SplitHostPort that also parses the integer port.