middleware

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRequired

func AuthRequired(ctx *gin.Context)

AuthRequired 身份验证

func Header() gin.HandlerFunc

Header 头处理

func NewJwtMiddleware

func NewJwtMiddleware() (*jwt.GinJWTMiddleware, error)

NewJwtMiddleware 创建jwt授权中间件

Types

This section is empty.

Jump to

Keyboard shortcuts

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