middlewares

package
v0.0.0-...-bc6e940 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package middlewares contains the middlewares for the rest api

Package middlewares contains the middlewares for the rest api

Package middlewares contains the middlewares for the rest api

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthJWTMiddleware

func AuthJWTMiddleware() gin.HandlerFunc

AuthJWTMiddleware is a function that validates the jwt token

func CommonHeaders

func CommonHeaders(c *gin.Context)

CommonHeaders is a middleware that adds common headers to the response

func GinBodyLogMiddleware

func GinBodyLogMiddleware(c *gin.Context)

GinBodyLogMiddleware is a middleware that logs the request and response

Types

This section is empty.

Jump to

Keyboard shortcuts

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