summaryrefslogtreecommitdiff
path: root/service/http
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 19:24:25 +0300
committerWolfy-J <[email protected]>2019-05-04 19:24:25 +0300
commit2efc533f2aac215d487a80020b0f9bf4ae5209c3 (patch)
treea80a7a74dc4ca8c290b8b1bf1f6d24535b5ae3d7 /service/http
parent726b31008e73ab83d0582305c28a8cf62322e47a (diff)
watchers renamed to controllers
Diffstat (limited to 'service/http')
-rw-r--r--service/http/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/service.go b/service/http/service.go
index 800d3ca9..b76d8893 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -33,14 +33,14 @@ type Service struct {
mdwr []middleware
mu sync.Mutex
rr *roadrunner.Server
- watcher roadrunner.Watcher
+ watcher roadrunner.Controller
handler *Handler
http *http.Server
https *http.Server
}
// Watch attaches watcher.
-func (s *Service) Watch(w roadrunner.Watcher) {
+func (s *Service) Watch(w roadrunner.Controller) {
s.watcher = w
}