middlewares

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceTokenHeader = "gitlab-iam-auth-token"

ServiceTokenHeader is the metadata key (gRPC) / HTTP header name that service-to-service callers of the auth service present their token under. The validation logic lives in pkg/serviceauth (HTTPMiddleware / UnaryServerInterceptor).

Variables

This section is empty.

Functions

func CorsHandler

func CorsHandler(next http.Handler, cfg config.CORSConfig) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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