Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogLevel ¶
Types ¶
type Command ¶
type Command func(args []string, procInout ProcessInout, env Env) ExitStatus
type ExitStatus ¶
type ExitStatus int
const ( // ExitNormal means exit successfully. // SEE: http://tldp.org/LDP/abs/html/exitcodes.html ExitNormal ExitStatus = 0 // ExitAbnormal means exit not successfully. // SEE: http://tldp.org/LDP/abs/html/exitcodes.html ExitAbnormal ExitStatus = 1 )
type ProcessInout ¶
type ProcessInout struct { Stdin io.Reader Stdout io.WriteCloser Stderr io.WriteCloser }
func AnyProcInout ¶
func AnyProcInout() ProcessInout
func GetProcessInout ¶
func GetProcessInout() ProcessInout
Source Files ¶
Click to show internal directories.
Click to hide internal directories.