middleware

package
v0.0.0-...-e05a182 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(rd *redis.Client) echo.MiddlewareFunc

func CORS

func CORS() echo.MiddlewareFunc

func JWT

func JWT() echo.MiddlewareFunc

func Logger

func Logger() echo.MiddlewareFunc

Types

type JwtCustomClaims

type JwtCustomClaims 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