mdw

package
v0.0.0-...-783c0ba Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseUrl

func BaseUrl(c *gin.Context) string

func DefaultContextUser

func DefaultContextUser(c *gin.Context) *mysql.Member

后台取用户

func DefaultSessionUser

func DefaultSessionUser(c *gin.Context) (*mysql.Member, bool)

后台取用户

func LoginRequired

func LoginRequired() gin.HandlerFunc

后台取用户

func TplRequired

func TplRequired() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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