summaryrefslogtreecommitdiff
path: root/service/http/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-14 22:58:28 +0300
committerWolfy-J <[email protected]>2018-06-14 22:58:28 +0300
commitccd297dbe2586b3fd29854f72f795be9e818522e (patch)
treedd893888f99dce8ccdd207180b6b146c88eb4d22 /service/http/service.go
parent85c8cc760de445af8c669bc9228aedc8bd9341ef (diff)
cs
Diffstat (limited to 'service/http/service.go')
-rw-r--r--service/http/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/service.go b/service/http/service.go
index 70980859..7a7354fb 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -12,7 +12,7 @@ import (
// ID contains default svc name.
const ID = "http"
-// must return true if request/response pair is handled withing the middleware.
+// must return true if request/response pair is handled within the middleware.
type middleware func(w http.ResponseWriter, r *http.Request) bool
// Service manages rr, http servers.