common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CookieLoginHandler

func CookieLoginHandler(mw *jwt.GinJWTMiddleware, c *gin.Context)

func DebugMode

func DebugMode() bool

func GetAuthMiddleware

func GetAuthMiddleware() *jwt.GinJWTMiddleware

func GetUserName

func GetUserName(c *gin.Context) string

func ValidateIntInput

func ValidateIntInput(maxValue string, input string) (bool, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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