middleware

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deflate added in v0.3.3

func Deflate(next http.Handler) http.Handler

func Gzip

func Gzip(next http.Handler) http.Handler

func IsDeflateAllowed added in v0.3.3

func IsDeflateAllowed(w http.ResponseWriter, r *http.Request) bool

func IsGzipAllowed added in v0.3.3

func IsGzipAllowed(w http.ResponseWriter, r *http.Request) bool

Types

type Pipeline

type Pipeline []func(next http.Handler) http.Handler

func (Pipeline) Then

func (p Pipeline) Then(h http.Handler) http.Handler

Jump to

Keyboard shortcuts

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