summaryrefslogtreecommitdiff
path: root/plugins/jobs/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/interface.go')
-rw-r--r--plugins/jobs/interface.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/jobs/interface.go b/plugins/jobs/interface.go
deleted file mode 100644
index a2cf6ed9..00000000
--- a/plugins/jobs/interface.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package jobs
-
-import (
- priorityqueue "github.com/spiral/roadrunner/v2/common/priority_queue"
- "github.com/spiral/roadrunner/v2/plugins/jobs/pipeline"
- "github.com/spiral/roadrunner/v2/plugins/jobs/structs"
-)
-
-// Consumer todo naming
-type Consumer interface {
- Push(*structs.Job) (string, error)
- Stat()
- Consume(*pipeline.Pipeline)
- Register(pipe string) error
-}
-
-type Broker interface {
- InitJobBroker(queue priorityqueue.Queue) (Consumer, error)
-}
-
-type Item interface {
- ID() string
- Payload() []byte
-}