Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFn ¶
type CallbackFn func([]byte)
Callback output from the command. Newlines are embedded and should be removed
type Cmd ¶
type Cmd struct {
// Stdout callback function
Out CallbackFn
// Stderr callback function
Err CallbackFn
// The time the command was started
Start time.Time
// The time the command was stopped
Stop time.Time
// contains filtered or unexported fields
}
Cmd represents the lifecycle of a command
Click to show internal directories.
Click to hide internal directories.