package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

FullyQualifiedHostname returns the FQDN of the machine.
FullyQualifiedHostnameOrPanic is the same as FullyQualifiedHostname but panics in case of an error.
JoinHostPort is an extension to net.JoinHostPort that also formats the integer port.
NewConnWithTimeouts wraps a net.Conn with read and write deadilnes.
ResolveIPv4Addrs resolves the address:port part into IP address:port pairs.
SortRfc2782 reorders SRV records as specified in RFC 2782.
SplitHostPort is an alternative to net.SplitHostPort that also parses the integer port.

# Structs

A ConnWithTimeouts is a wrapper to net.Comm that allows to set a read and write timeouts.