middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Protected

func Protected() fiber.Handler

Types

type Middleware

type Middleware struct {
	App *fiber.App
	Cfg *config.Config
}

Middleware is a struct that contains all the middleware functions

func NewMiddleware

func NewMiddleware(app *fiber.App, cfg *config.Config) *Middleware

func (*Middleware) Register

func (m *Middleware) Register()

Register registers all the middleware functions

Jump to

Keyboard shortcuts

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