From dfef39c64132192d13e2315364a74f1b0244791e Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Fri, 15 Jun 2018 15:54:14 +0300 Subject: readme, samples, golint, build scripts --- service/http/service.go | 1 + 1 file changed, 1 insertion(+) (limited to 'service/http/service.go') diff --git a/service/http/service.go b/service/http/service.go index 7a7354fb..3d200845 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -27,6 +27,7 @@ type Service struct { http *http.Server } +// AddMiddleware adds new net/http middleware. func (s *Service) AddMiddleware(m middleware) { s.mdws = append(s.mdws, m) } -- cgit v1.2.3