middlewares

package
v0.0.0-...-1c9d33f Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorized

func Authorized(utype int) gin.HandlerFunc

Authorized master to do some requests

func JWTMiddleware

func JWTMiddleware() gin.HandlerFunc

JWTMiddleware parses JWT token from cookie and stores data and expires date to the context JWT Token can be passed as cookie, or Authorization header

Types

This section is empty.

Jump to

Keyboard shortcuts

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