middleware

package
v0.0.0-...-cb708ad Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthHeaderName = "Authorization"
)

Variables

This section is empty.

Functions

func AuthLoginMiddleware

func AuthLoginMiddleware() echo.MiddlewareFunc

AuthLoginMiddleware

This middleware will redirect to profile from auth page if user is already logged in

func AuthMiddleware

func AuthMiddleware() echo.MiddlewareFunc

AuthMiddleware

This middleware where will redirect to login page if user is not logged in.

func DeadlineMiddleware

func DeadlineMiddleware() echo.MiddlewareFunc

DeadlineMiddleware

This middleware will check if the registration deadline has passed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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