Documentation ¶
Index ¶
- func FatalError(err error) error
- func FatalErrorf(err error, format string, a ...interface{}) error
- func FatalErrorln(err error, message string) error
- func FirstIP(host string, ipv6 bool) (string, error)
- func SetTcpTos(conn *net.TCPConn, dscp int) error
- func SetUdpTos(conn *net.UDPConn, dscp int) error
- func UdpFamily(ip string) (string, error)
- func WarnError(err error) error
- func WarnErrorf(err error, format string, v ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FatalError ¶
func FatalErrorf ¶
func FatalErrorln ¶
func UdpFamily ¶
* Check whether the IP destination is IPv4 or IPv6 * and set the UDP family to 'udp4' or 'udp6'
func WarnErrorf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.