summaryrefslogtreecommitdiff
path: root/common/jobs/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/jobs/interface.go')
-rw-r--r--common/jobs/interface.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/jobs/interface.go b/common/jobs/interface.go
index e94e97b1..f90c9c21 100644
--- a/common/jobs/interface.go
+++ b/common/jobs/interface.go
@@ -3,13 +3,13 @@ package jobs
import (
"github.com/spiral/roadrunner/v2/pkg/events"
priorityqueue "github.com/spiral/roadrunner/v2/pkg/priority_queue"
+ "github.com/spiral/roadrunner/v2/plugins/jobs/job"
"github.com/spiral/roadrunner/v2/plugins/jobs/pipeline"
- "github.com/spiral/roadrunner/v2/plugins/jobs/structs"
)
// Consumer todo naming
type Consumer interface {
- Push(job *structs.Job) error
+ Push(job *job.Job) error
Register(pipeline *pipeline.Pipeline) error
Run(pipeline *pipeline.Pipeline) error
Stop() error