Documentation ¶
Index ¶
- Constants
- func AuthMiddleware() gin.HandlerFunc
- func ExtractToken(bearerToken string) string
- func LoggingMiddleware() gin.HandlerFunc
- func ProjectAuthMiddleware() gin.HandlerFunc
- func SetVersionMiddleware() gin.HandlerFunc
- func TelemetryMiddleware(telemetryService telemetry.TelemetryService) gin.HandlerFunc
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 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.
Click to show internal directories.
Click to hide internal directories.