middleware

package
v0.0.0-...-5783bb9 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: BSD-3-Clause Imports: 0 Imported by: 1

Documentation

Overview

Package middleware provides common extensions required for production HTTP applications.

Directories

Path Synopsis
Package cors provides a "Cross Origin Resource Sharing" middleware.
Package cors provides a "Cross Origin Resource Sharing" middleware.
Package gzip provides data compression of HTTP responses for clients that support it.
Package gzip provides data compression of HTTP responses for clients that support it.
Package headers provides a middleware to add HTTP headers to all generated responses.
Package headers provides a middleware to add HTTP headers to all generated responses.
Package hsts provides a HTTP Strict Transport Security middleware implementation.
Package hsts provides a HTTP Strict Transport Security middleware implementation.
Package logging generates flexible logs from processed HTTP requests.
Package logging generates flexible logs from processed HTTP requests.
Package metadata allows to set/get additional context details from/on HTTP requests.
Package metadata allows to set/get additional context details from/on HTTP requests.
Package proxy adjust values managed by reverse proxy headers on incoming HTTP requests.
Package proxy adjust values managed by reverse proxy headers on incoming HTTP requests.
Package rate provides a rate limiter middleware based on a "token bucket" implementation.
Package rate provides a rate limiter middleware based on a "token bucket" implementation.
Package recovery allows an HTTP server to recover from unhandled panic events.
Package recovery allows an HTTP server to recover from unhandled panic events.

Jump to

Keyboard shortcuts

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