summaryrefslogtreecommitdiff
path: root/interfaces/informer
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/informer')
-rw-r--r--interfaces/informer/interface.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/interfaces/informer/interface.go b/interfaces/informer/interface.go
new file mode 100644
index 00000000..42e82338
--- /dev/null
+++ b/interfaces/informer/interface.go
@@ -0,0 +1,7 @@
+package informer
+
+import "github.com/spiral/roadrunner/v2"
+
+type Informer interface {
+ Workers() []roadrunner.WorkerBase
+}