middleware

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 0 Imported by: 0

README

GoDoc Build Status codecov

HTTP middlewares for net/http.

See godoc for documentation.

Documentation

Overview

Package middleware contains HTTP middlewares for net/http.

Directories

Path Synopsis
Package audit adds audit logs.
Package audit adds audit logs.
Package auth provides HTTP authentication.
Package auth provides HTTP authentication.
Package cache disables browser caching.
Package cache disables browser caching.
Package contenttype validates the Content-Type header.
Package contenttype validates the Content-Type header.
Package cors implements cross origin resource sharing (CORS) headers.
Package cors implements cross origin resource sharing (CORS) headers.
Package header adds HTTP headers.
Package header adds HTTP headers.
Package pprof adds profiling.
Package pprof adds profiling.
Package ratelimit implements rate limiting of HTTP requests.
Package ratelimit implements rate limiting of HTTP requests.
Package rescue recover()s and log panic()s.
Package rescue recover()s and log panic()s.
Package security adds various security-related headers.
Package security adds various security-related headers.
Package static contains some middlewares for static file routes.
Package static contains some middlewares for static file routes.

Jump to

Keyboard shortcuts

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