middlewares

package
v0.0.0-...-f5fa5b5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(next echo.HandlerFunc) echo.HandlerFunc

func CheckAuth

func CheckAuth(c echo.Context) (bool, bool)

func ErrorHandler

func ErrorHandler(err error, c echo.Context)

func IsSkipAuth

func IsSkipAuth(path string) bool

func TransactionHandler

func TransactionHandler(db *gorm.DB) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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