summaryrefslogtreecommitdiff
path: root/service/watcher/watcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/watcher/watcher.go')
-rw-r--r--service/watcher/watcher.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/service/watcher/watcher.go b/service/watcher/watcher.go
index 8278790e..9d770135 100644
--- a/service/watcher/watcher.go
+++ b/service/watcher/watcher.go
@@ -1 +1,9 @@
package watcher
+
+import "github.com/spiral/roadrunner"
+
+// Server defines the ability to get access to underlying roadrunner server for watching capabilities.
+type Server interface {
+ // Server must return associated roadrunner serve.
+ Server() *roadrunner.Server
+}