gzip

package
v0.0.0-...-986cd6b Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressGzip

func CompressGzip(next http.Handler) http.Handler

func Conveyor

func Conveyor(h http.Handler, middlewares ...Middleware) http.Handler

func DeCompressGzip

func DeCompressGzip(next http.Handler) http.Handler

Types

type Handler

type Handler func(w http.ResponseWriter, r *http.Request) error

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Middleware

type Middleware func(http.Handler) http.Handler

Middleware принимает параметром Handler и возвращает тоже Handler.

Jump to

Keyboard shortcuts

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