middlewares

package
v0.0.0-...-24b9871 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IdentityKey = "username"

Functions

func AuthMiddleware

func AuthMiddleware() *jwt.GinJWTMiddleware

func CorsMiddleware

func CorsMiddleware() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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