middleware

package
v0.9.18 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptJWT added in v0.9.0

func DecryptJWT(tokenString string, s *session.Session, conf *cfg.Config) (*jwt.Token, error)

func Protected

func Protected(sess *session.Store, log *zerolog.Logger, conf *cfg.Config) fiber.Handler

Protected protect routes

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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