summaryrefslogtreecommitdiff
path: root/service/http/handler.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-30 17:58:16 +0300
committerWolfy-J <[email protected]>2018-09-30 17:58:16 +0300
commit734fab795eb5ee396ee76955c9ddadc4f3b09112 (patch)
treecec3a313fe207c3f91cd142d6d37202ef4db9494 /service/http/handler.go
parent6122fca108c20984732c969fb1ba53cce5b3c44a (diff)
https and http2 support
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 f719c751..d7521959 100644
--- a/service/http/handler.go
+++ b/service/http/handler.go
@@ -110,7 +110,7 @@ func (h *Handler) handleResponse(req *Request, resp *Response) {
h.throw(EventResponse, &ResponseEvent{Request: req, Response: resp})
}
-// throw invokes event srv if any.
+// throw invokes event handler if any.
func (h *Handler) throw(event int, ctx interface{}) {
h.mul.Lock()
defer h.mul.Unlock()