gzip

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gzip provides gzip compression middleware for rex routers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gzip

func Gzip(skipPaths ...string) rex.Middleware

Gzip returns middleware that compresses responses with gzip when the client supports it.

func GzipLevel

func GzipLevel(level int, skipPaths ...string) rex.Middleware

GzipLevel creates a gzip middleware with a specific compression level.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL