summaryrefslogtreecommitdiff
path: root/http/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 21:17:54 +0300
committerWolfy-J <[email protected]>2018-06-10 21:17:54 +0300
commit7cc6d00a1c350eb3147ede00802d312d4be94dee (patch)
treeac1391c831d4366b477e61b57e095a1dfeafbbb7 /http/service.go
parente9203e05a7f3278a8080d0f69e6640e5d3d1042d (diff)
debug is not service anymore
Diffstat (limited to 'http/service.go')
-rw-r--r--http/service.go2
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)
}