middlewares

package
v0.0.0-...-f4fedac Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(next echo.HandlerFunc) echo.HandlerFunc

func AuthMiddlewareFunc

func AuthMiddlewareFunc() echo.MiddlewareFunc

Types

type UserClaims

type UserClaims struct {
	ID    string `json:"id"`
	Email string `json:"email"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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