middleware

package
v0.0.0-...-87e37c2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AUTH const
	AUTH = iota
)

Variables

View Source
var Middlewares map[int]fiber.Handler

Middlewares map

Functions

func NewAuthMiddleware

func NewAuthMiddleware(jwtConfig *config.JWTConfig) func(c *fiber.Ctx) error

NewAuthMiddleware func

func Use

func Use(middlewareType int) fiber.Handler

Use func

Types

This section is empty.

Jump to

Keyboard shortcuts

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