From ccd297dbe2586b3fd29854f72f795be9e818522e Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Thu, 14 Jun 2018 22:58:28 +0300 Subject: cs --- service/http/service.go | 2 +- service/static/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'service') 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 -- cgit v1.2.3