Update interface

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2021-12-10 21:05:37 +00:00
parent fea0ff0b7c
commit f5e50b6c6d
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -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 {