summaryrefslogtreecommitdiff
path: root/service/http/handler.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-23 15:07:52 +0300
committerWolfy-J <[email protected]>2018-09-23 15:07:52 +0300
commit6b1e4462e4d664c0573faac00b8cb830e5c47a31 (patch)
tree068bb2a2a80f3152d36481a8bee857c16e34dbd3 /service/http/handler.go
parentbddab751c0cd3c19f650a1e9ce3b9d03e71f70fe (diff)
default configs
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 9e67e5b4..945cd51e 100644
--- a/service/http/handler.go
+++ b/service/http/handler.go
@@ -51,7 +51,7 @@ func (h *Handler) Listen(l func(event int, ctx interface{})) {
h.lsn = l
}
-// middleware serve using PSR-7 requests passed to underlying application. Attempts to serve static files first if enabled.
+// mdwr 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 {