myMiddleware

package
v0.0.0-...-d7a86a2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckToken

func CheckToken(db *sql.DB) gin.HandlerFunc

Middleware for checking token in header

func JsonSchemaValidator

func JsonSchemaValidator() gin.HandlerFunc

middleware for json schema validation

func RequestLoggerMiddleware

func RequestLoggerMiddleware() gin.HandlerFunc

Middleware for logging requests

func RestrictInputContent

func RestrictInputContent(c *gin.Context)

Middleware for restricting input content

Types

This section is empty.

Jump to

Keyboard shortcuts

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