Gzip returns a middleware which compresses HTTP response using gzip compression scheme.
()
| 57 | |
| 58 | // Gzip returns a middleware which compresses HTTP response using gzip compression scheme. |
| 59 | func Gzip() echo.MiddlewareFunc { |
| 60 | return GzipWithConfig(GzipConfig{}) |
| 61 | } |
| 62 | |
| 63 | // GzipWithConfig returns a middleware which compresses HTTP response using gzip compression scheme. |
| 64 | func GzipWithConfig(config GzipConfig) echo.MiddlewareFunc { |
searching dependent graphs…