Categorygithub.com/go-macaron/gzip
modulepackage
0.0.0-20200329073552-98214d7a897e
Repository: https://github.com/go-macaron/gzip.git
Documentation: pkg.go.dev

# README

gzip

GitHub Workflow Status codecov GoDoc Sourcegraph

Middleware gzip provides compress to responses for Macaron.

Installation

go get github.com/go-macaron/gzip

Getting Help

Credits

This package is a modified version of martini-contrib/gzip.

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.

# Functions

Gziper returns a Handler that adds gzip compression to all requests.

# Structs

Options represents a struct for specifying configuration options for the GZip middleware.