middlewares

package
v0.0.0-...-1291c50 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthHandlerMiddleware

func AuthHandlerMiddleware() gin.HandlerFunc

AuthHandlerMiddleware :

func ErrorHandlerMiddleware

func ErrorHandlerMiddleware() gin.HandlerFunc

ErrorHandlerMiddleware :

func PublicErrorToObject

func PublicErrorToObject(e *gin.Error, c *gin.Context) models.ErrorsObject

PublicErrorToObject :

func ValidationErrorToObject

func ValidationErrorToObject(e validator.FieldError, c *gin.Context) models.ErrorsObject

ValidationErrorToObject :

Types

This section is empty.

Jump to

Keyboard shortcuts

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