middleware

package
v0.0.0-...-dae10ae Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKeyAccessToken = "Authorization"
View Source
const ContextKeyUserID = "UserID"

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

func ErrorMiddleware

func ErrorMiddleware() func(*gin.Context)

func JwtAuthMiddleware

func JwtAuthMiddleware() func(*gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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