middleware

package
v0.0.0-...-96c7ced Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AUTH_HEADER_NAME = "X-Auth-Token"
	USER_ID_KEY      = "uid"
	USER_DATA_KEY    = "udata"
	DB_ERR_CODE      = 258
)

Variables

This section is empty.

Functions

func AllUrlPath

func AllUrlPath(c *gin.Context)

func Cors

func Cors() gin.HandlerFunc

func UserAuth

func UserAuth() 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