diff options
Diffstat (limited to 'service/http')
-rw-r--r-- | service/http/service.go | 4 |
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 } |