middleware

package
v0.0.0-...-afd1d67 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalHeader       = "X-Internal-Access"
	InternalHeaderEnvVar = "X_INTERNAL_ACCESS"
)

Variables

This section is empty.

Functions

func ExtractJWT

func ExtractJWT(c *fiber.Ctx) string

func ProtectInternal

func ProtectInternal(c *fiber.Ctx) error

func ValidateJWT

func ValidateJWT(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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