middle

package
v0.0.0-...-d081b09 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMiddleware

type AuthMiddleware struct {
	// contains filtered or unexported fields
}

func New

func New() AuthMiddleware

func (AuthMiddleware) IsAdmin

func (am AuthMiddleware) IsAdmin(next echo.HandlerFunc) echo.HandlerFunc

func (AuthMiddleware) IsValid

func (am AuthMiddleware) IsValid(next echo.HandlerFunc) echo.HandlerFunc

Jump to

Keyboard shortcuts

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