middlewares

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package middlewares is used to register the builtin middlewares.

Directories

Path Synopsis
Package allow provides a client-allowed middleware.
Package allow provides a client-allowed middleware.
Package auth provides a common auth middleware based on the request header 'Authorization'.
Package auth provides a common auth middleware based on the request header 'Authorization'.
forwardauth
Package forward provides a middleware that forward the auth to the external server.
Package forward provides a middleware that forward the auth to the external server.
Package block provides a client-blocked middleware.
Package block provides a client-blocked middleware.
Package cors provides a CORS middleware.
Package cors provides a CORS middleware.
Package provides a logger middleware to log the request.
Package provides a logger middleware to log the request.
Package processor provides a processor middleware to handle the forwarding request and response.
Package processor provides a processor middleware to handle the forwarding request and response.
Package redirect provides a redirect middleware.
Package redirect provides a redirect middleware.
Package requestid provides a request id middleware based on the request header "X-Request-Id".
Package requestid provides a request id middleware based on the request header "X-Request-Id".

Jump to

Keyboard shortcuts

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