gzip

package
v0.0.0-...-de89868 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gzip - middleware, сжатие gzip.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeCompressGzip

func DeCompressGzip(next http.Handler) http.Handler

DeCompressGzip сжатие gzip

Types

type Handler

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

Handler .

func (Handler) ServeHTTP

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

ServerHTTP .

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