middlewares

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MiddlewareAfterOperationSuccess

func MiddlewareAfterOperationSuccess(c *fiber.Ctx) bool

MiddlewareAfterOperationSuccess sets a header and optionally aborts after a successful operation.

func MiddlewareBeforeOperation

func MiddlewareBeforeOperation(c *fiber.Ctx) bool

MiddlewareBeforeOperation sets a header and optionally aborts the operation based on a request header.

func MiddlewareOnError

func MiddlewareOnError(c *fiber.Ctx, err error) bool

MiddlewareOnError sets a header and optionally aborts on error.

func MiddlewareOnError2

func MiddlewareOnError2(c *fiber.Ctx, err error) bool

MiddlewareOnError2 sets a header for error handling without aborting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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