Documentation ¶
Index ¶
- func InvokeCommandAndOutputPerByteToBytesInRealTime(output *[]byte, name string, args ...string) error
- func InvokeCommandAndOutputPerLineToBytesInRealTime(output *[]byte, name string, args ...string) error
- func InvokeCommandAndOutputToBytesAtOnce(output *[]byte, name string, args ...string) error
- func InvokeCommandAndOutputToSTDOUTAtOnce(name string, args ...string) error
- func InvokeCommandAndOutputToSTDOUTInRealTime(name string, args ...string) error
- func MarshalArgs(args *TaskCaller) string
- func StringToCommand(str string) []string
- type TaskCaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalArgs ¶
func MarshalArgs(args *TaskCaller) string
func StringToCommand ¶ added in v0.0.3
Types ¶
type TaskCaller ¶
TaskCaller contains the arguments which pass to task. Using struct can make it more convenient to subsequent update. -------------------------------------------------- The name of this struct may not be appropriate, but I really can't think of a better name to describe it. :( If you have a better name, please submit a pull request, thanks a lot.
func UnmarshalArgs ¶
func UnmarshalArgs(jsonStr string) *TaskCaller
Click to show internal directories.
Click to hide internal directories.