http

package
v1.67.9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticationMiddleware

func AuthenticationMiddleware(
	next http.Handler,
	authenticator security.Authenticator,
	opts ...security.AuthOption,
) http.Handler

AuthenticationMiddleware is an HTTP middleware that verifies and extracts authentication data supplied in a JWT as an Authorization bearer token.

func LoggingMiddleware added in v1.65.7

func LoggingMiddleware(next http.Handler) http.Handler

LoggingMiddleware creates an HTTP middleware that logs requests and responses when tracing is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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