summaryrefslogtreecommitdiff
path: root/common/jobs/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
committerValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
commitd099e47ab28dd044d34e18347a4c714b8af3d612 (patch)
treee106e13bba48e435b87d218237b282d7f691b52c /common/jobs/interface.go
parentec7c049036d31fe030d106db9f0d268ea0296c5f (diff)
SQS driver.
Fix isssues in the AMQP driver. Signed-off-by: Valery Piashchynski <[email protected]>
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