middleware

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminAuthHandler

func AdminAuthHandler(next echo.HandlerFunc) echo.HandlerFunc

func AuthHandler

func AuthHandler(next echo.HandlerFunc, allowRoles []models.Role, justTest bool) echo.HandlerFunc

func CommentAuthHandler

func CommentAuthHandler(next echo.HandlerFunc) echo.HandlerFunc

func IndexAuthHandler

func IndexAuthHandler(next echo.HandlerFunc) echo.HandlerFunc

func UserAuthHandler

func UserAuthHandler(next echo.HandlerFunc) echo.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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