middlewares

package
v0.0.0-...-39a8028 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(c *gin.Context)

ErrorHandler a middleware to handle errors

func ValidateAuthentication

func ValidateAuthentication(c *gin.Context)

ValidateAuthentication validate gets and check variable body to create new variable puts model.Variable in context as body if everything is correct

Types

This section is empty.

Jump to

Keyboard shortcuts

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