middleware

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Middleware

type Middleware struct {
	fx.In

	Auth service.Auth
}

func (Middleware) CurrentUser

func (m Middleware) CurrentUser() func(ctx *fiber.Ctx) error

func (Middleware) InjectFiberCtx added in v0.0.3

func (m Middleware) InjectFiberCtx() func(ctx *fiber.Ctx) error

Jump to

Keyboard shortcuts

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