Documentation

Index

Constants

const (
	AlgorithmHS256 = "HS256"
	JwtKey         = "access-token"
)

Variables

This section is empty.

Functions

func AuthRole

func AuthRole(targetRole string) echo.MiddlewareFunc

func AuthRoom

func AuthRoom() echo.MiddlewareFunc

func Authorized

func Authorized() echo.MiddlewareFunc

func DbContext

func DbContext(db *gorm.DB) echo.MiddlewareFunc

func Jwt

func Jwt() echo.MiddlewareFunc

Types

This section is empty.

Source Files