Documentation
¶
Overview ¶
Package net provides network utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fqdn ¶
Fqdn returns the FQDN for the host if any (this uses a DNS forward and reverse round trip).
func IsUDSAvailable ¶
IsUDSAvailable checks if the given path refers to an existing Unix domain socket that the current process can write to. This is intended for verifying that a DogStatsD UDS datagram socket is ready to receive data.
It checks three things:
- The path exists on disk.
- The file is a socket.
- The current process has write permission.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.