middleware

package
v0.0.0-...-de5a067 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLevelAccess

func CheckLevelAccess(next echo.HandlerFunc) echo.HandlerFunc

Adding handlerFunction to check if the LevelAccess == admin or user

func ExtractToken

func ExtractToken(c echo.Context) (result extract, err error)

func JWTMiddleware

func JWTMiddleware(config *config.AppConfig) 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