middlewares

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const SERVER_VERSION_HEADER = "X-Server-Version"

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware() gin.HandlerFunc

func ExtractToken

func ExtractToken(bearerToken string) string

func LoggingMiddleware

func LoggingMiddleware() gin.HandlerFunc

func ProjectAuthMiddleware

func ProjectAuthMiddleware() gin.HandlerFunc

func SetVersionMiddleware added in v0.20.0

func SetVersionMiddleware() gin.HandlerFunc

func TelemetryMiddleware added in v0.23.0

func TelemetryMiddleware(telemetryService telemetry.TelemetryService) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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