Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Tasks = map[string](func(string) error){
"NoOp": taskNoOp,
"Sleep": taskSleep,
"Log": taskLog,
"SendMail": taskSendMail,
"Download": taskDownloadFile}
Tasks maps builtin task names with event handlers
Functions ¶
func ExecuteTask ¶
ExecuteTask executes built-in task depending on task name and returns err result
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.