middleware

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

CORSMiddleware : cross origin resource sharing

func JWTAuth added in v0.1.0

func JWTAuth() gin.HandlerFunc

JWTAuth is a middleware for validating JWT tokens

func JWTAuthAdmin added in v0.1.0

func JWTAuthAdmin() gin.HandlerFunc

JWTAuth is a middleware for validating JWT tokens

Types

This section is empty.

Jump to

Keyboard shortcuts

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