summaryrefslogtreecommitdiff
path: root/service/http/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/handler.go')
-rw-r--r--service/http/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/handler.go b/service/http/handler.go
index 280d67aa..254f5ca6 100644
--- a/service/http/handler.go
+++ b/service/http/handler.go
@@ -63,7 +63,7 @@ type Handler struct {
lsn func(event int, ctx interface{})
}
-// Listen attaches handler event watcher.
+// Listen attaches handler event controller.
func (h *Handler) Listen(l func(event int, ctx interface{})) {
h.mul.Lock()
defer h.mul.Unlock()