middleware

package
v0.0.0-...-966fcb4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallBackTokenAuth

func CallBackTokenAuth(c *gin.Context)

func Ginrus

func Ginrus() gin.HandlerFunc

Ginrus return a logrus middleware

func JWTAuth

func JWTAuth() gin.HandlerFunc

JWT middleware

func SessionAuth

func SessionAuth(c *gin.Context)

SessionAuth used to check user login status No RBAC verification required

func Setup

func Setup()

framework init func

Types

This section is empty.

Jump to

Keyboard shortcuts

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