middlewares

package
v0.0.0-...-3ccc3fb Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT 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