middlewares

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorMiddleware

func ErrorMiddleware() gin.HandlerFunc

Middleware for managing errors on status

func ModMiddleware

func ModMiddleware() gin.HandlerFunc

ModMiddleware Make sure the user is a moderator, otherwise return forbidden

func NotFoundHandler

func NotFoundHandler(c *gin.Context)

NotFoundHandler : Controller for displaying 404 error page

Types

This section is empty.

Jump to

Keyboard shortcuts

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