[feature] Gin enable gzip encoding (#405)

* add gin gzip dependency

* add gzip middleware to router

* go mod tidy
This commit is contained in:
tobi 2022-02-19 12:12:41 +01:00 committed by GitHub
commit a089a98ea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 442 additions and 5 deletions

3
vendor/modules.txt vendored
View file

@ -74,6 +74,9 @@ github.com/fsnotify/fsnotify
# github.com/gin-contrib/cors v1.3.1
## explicit; go 1.13
github.com/gin-contrib/cors
# github.com/gin-contrib/gzip v0.0.5
## explicit; go 1.13
github.com/gin-contrib/gzip
# github.com/gin-contrib/sessions v0.0.4
## explicit; go 1.13
github.com/gin-contrib/sessions