Documentation ¶
Index ¶
- func CmdOut(name string, arg ...string) (string, error)
- func CmdOutBytes(name string, arg ...string) ([]byte, error)
- func CmdOutNoLn(name string, arg ...string) (out string, err error)
- func CmdRunWithTimeout(cmd *exec.Cmd, timeout time.Duration) (error, bool)
- func GenerateRandomSeed() int64
- func GrabEphemeralPort() (port uint16, err error)
- func IntranetIP() (ips []string, err error)
- func LocalDnsName() (hostname string, err error)
- func LocalIP() (string, error)
- func SleepRandomDuration(t int)
- func URandom() string
- func WritePidFile(pidFilePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomSeed ¶
func GenerateRandomSeed() int64
func GrabEphemeralPort ¶
func IntranetIP ¶
func LocalDnsName ¶
func SleepRandomDuration ¶
func SleepRandomDuration(t int)
func WritePidFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.