middlewares

package
v0.0.0-...-2effb0b Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JwtMiddleware = jwtware.New(jwtware.Config{
	SigningKey: []byte(env.JWT_SECRET),
	ErrorHandler: func(ctx *fiber.Ctx, _ error) error {
		return ctx.SendStatus(fiber.StatusUnauthorized)
	},
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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