diff options
Diffstat (limited to 'service/gzip/service.go')
-rw-r--r-- | service/gzip/service.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/service/gzip/service.go b/service/gzip/service.go index 231ba4d9..2ba95158 100644 --- a/service/gzip/service.go +++ b/service/gzip/service.go @@ -2,13 +2,15 @@ package gzip import ( "errors" + "net/http" + "github.com/NYTimes/gziphandler" rrhttp "github.com/spiral/roadrunner/service/http" - "net/http" ) // ID contains default service name. const ID = "gzip" + var httpNotInitialized = errors.New("http service should be defined properly in config to use gzip") type Service struct { |