diff options
author | Wolfy-J <[email protected]> | 2018-06-13 14:07:58 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 14:07:58 +0300 |
commit | 7d77b05901f4b34025a307de2ac4a83ae3162452 (patch) | |
tree | 847574125797cb69d444530cbae59cf345cbe415 /service/http/handler.go | |
parent | ca95f67317bcf8972b9e669869338a7dc09bf06d (diff) |
minor refactor
Diffstat (limited to 'service/http/handler.go')
-rw-r--r-- | service/http/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/handler.go b/service/http/handler.go index 0124a2a4..a4cb6406 100644 --- a/service/http/handler.go +++ b/service/http/handler.go @@ -48,7 +48,7 @@ func (h *Handler) Listen(l func(event int, ctx interface{})) { h.lsn = l } -// Handle serve using PSR-7 requests passed to underlying application. Attempts to serve static files first if enabled. +// middleware serve using PSR-7 requests passed to underlying application. Attempts to serve static files first if enabled. func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { // validating request size if h.cfg.MaxRequest != 0 { |