Update interface
Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
parent
fea0ff0b7c
commit
f5e50b6c6d
1 changed files with 4 additions and 2 deletions
|
@ -9,8 +9,10 @@ const (
|
|||
)
|
||||
|
||||
type Runner interface {
|
||||
Queue(task *Task)
|
||||
Run() (chan ResultOrError, func())
|
||||
Start() error
|
||||
Stop() error
|
||||
Cleanup() error
|
||||
Run(task *Task) (*Result, error)
|
||||
}
|
||||
|
||||
type ResultOrError struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue