middleware

package
v0.0.0-...-36d6084 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c *gin.Context)

func InitJwtMiddleware

func InitJwtMiddleware(c *gin.Context) *jwt.GinJWTMiddleware

func WxCheckLogin

func WxCheckLogin(c *gin.Context)

func WxCheckLoginWithCode

func WxCheckLoginWithCode(c *gin.Context)

发送code,获取sessionkey

Types

type WxSessionRequest

type WxSessionRequest struct {
	Token string `json:"token" form:"token"`
}

Jump to

Keyboard shortcuts

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