Documentation
¶
Overview ¶
Package executor provides the Work type which is used to execute a pb.WorkReq. This package is the meat of the engine.
To create a Work object, simply:
work := executor.New(req, status}
After creating a Work object, validate it:
if err := work.Validate(); err !=nil { // Do something }
To run the Work object, do:
ch := work.Run()
Once Run() returns, the pb.Status object passed will contain the results of running the WorkReq.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.