diff options
Diffstat (limited to 'http/service.go')
-rw-r--r-- | http/service.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/http/service.go b/http/service.go index 7835a652..79141d07 100644 --- a/http/service.go +++ b/http/service.go @@ -113,6 +113,8 @@ func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request) { } func (s *Service) listener(event int, ctx interface{}) { + // todo: DIE on server failure + for _, l := range s.listeners { l(event, ctx) } |