middleware

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: GPL-3.0 Imports: 12 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 AuthUserinfoRequired added in v0.2.0

func AuthUserinfoRequired(key interface{}) gin.HandlerFunc

AuthUserinfoRequired 身份验证

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