systool

package
Version: v0.0.0-...-470e8f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2014 License: BSD-3-Clause Imports: 13 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdOut

func CmdOut(name string, arg ...string) (string, error)

func CmdOutBytes

func CmdOutBytes(name string, arg ...string) ([]byte, error)

func CmdOutNoLn

func CmdOutNoLn(name string, arg ...string) (out string, err error)

func CmdRunWithTimeout

func CmdRunWithTimeout(cmd *exec.Cmd, timeout time.Duration) (error, bool)

func GenerateRandomSeed

func GenerateRandomSeed() int64

func GrabEphemeralPort

func GrabEphemeralPort() (port uint16, err error)

func IntranetIP

func IntranetIP() (ips []string, err error)

func LocalDnsName

func LocalDnsName() (hostname string, err error)

func LocalIP

func LocalIP() (string, error)

func SleepRandomDuration

func SleepRandomDuration(t int)

func URandom

func URandom() string

func WritePidFile

func WritePidFile(pidFilePath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL