diff options
author | Wolfy-J <[email protected]> | 2018-06-14 22:58:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-14 22:58:28 +0300 |
commit | ccd297dbe2586b3fd29854f72f795be9e818522e (patch) | |
tree | dd893888f99dce8ccdd207180b6b146c88eb4d22 /service | |
parent | 85c8cc760de445af8c669bc9228aedc8bd9341ef (diff) |
cs
Diffstat (limited to 'service')
-rw-r--r-- | service/http/service.go | 2 | ||||
-rw-r--r-- | service/static/service.go | 2 |
2 files changed, 2 insertions, 2 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. diff --git a/service/static/service.go b/service/static/service.go index 545c96bf..2324dcd1 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -55,7 +55,7 @@ func (s *Service) Serve() error { return nil } // Stop stops the service. func (s *Service) Stop() {} -// middleware must return true if request/response pair is handled withing the middleware. +// middleware must return true if request/response pair is handled within the middleware. func (s *Service) middleware(w http.ResponseWriter, r *http.Request) bool { fPath := r.URL.Path |