summaryrefslogtreecommitdiff
path: root/plugins/informer/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/informer/interface.go')
-rw-r--r--plugins/informer/interface.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/informer/interface.go b/plugins/informer/interface.go
index 8e3b922b..45f44691 100644
--- a/plugins/informer/interface.go
+++ b/plugins/informer/interface.go
@@ -1,8 +1,10 @@
package informer
-import "github.com/spiral/roadrunner/v2/pkg/worker"
+import (
+ "github.com/spiral/roadrunner/v2/pkg/process"
+)
// Informer used to get workers from particular plugin or set of plugins
type Informer interface {
- Workers() []worker.BaseProcess
+ Workers() []process.State
}