middleware

package
v0.0.0-...-29d81d3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServices

func GetServices(c *fiber.Ctx) *services.Services

Types

type ModelsMiddleware

type ModelsMiddleware struct {
	Movies *models.Movies
}

func GetModels

func GetModels(c *fiber.Ctx) *ModelsMiddleware

func NewModelsMiddleware

func NewModelsMiddleware(services *services.Services) *ModelsMiddleware

func (*ModelsMiddleware) ModelsMiddleware

func (m *ModelsMiddleware) ModelsMiddleware(c *fiber.Ctx) error

type ServicesMiddleware

type ServicesMiddleware struct {
	Services *services.Services
}

func NewServicesMiddleware

func NewServicesMiddleware(services *services.Services) *ServicesMiddleware

func (*ServicesMiddleware) ServicesMiddleware

func (sm *ServicesMiddleware) ServicesMiddleware(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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