middlewares

package
v0.0.0-...-476d15a Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthFilter

func AuthFilter(c *fiber.Ctx) bool

AuthFilter allows the request to pass through if the request is not one of the protected URLs. False means the request will be blocked. True means the request will be allowed.

func ValidateAPIKey

func ValidateAPIKey(c *fiber.Ctx, apiKey string) (bool, error)

ValidateAPIKey validates the API key

Types

This section is empty.

Jump to

Keyboard shortcuts

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