middleware

package
v0.0.0-...-efd7f42 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClainToken

func ClainToken(id uuid.UUID) (string, error)

func GetUserIdFromContext

func GetUserIdFromContext(ctx *fiber.Ctx) (string, error)

func IsAuthenticated

func IsAuthenticated(config *config.Config) func(ctx *fiber.Ctx) error

func SetMiddleware

func SetMiddleware(app *fiber.App)

Types

This section is empty.

Jump to

Keyboard shortcuts

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