handlers

package
v0.0.0-...-d76a1dc Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache(exp time.Duration) fiber.Handler

Cache will return a caching middleware

func Errors

func Errors(file string) fiber.ErrorHandler

Errors will process all errors returned to fiber

func GEO

func GEO() fiber.Handler

GEO will fetch IP GEO data from ip-api.com

func NotFound

func NotFound(file string) fiber.Handler

NotFound returns status code 404 along with the given html file

func Render

func Render() fiber.Handler

Render will pass the remove IP value to the template input

Types

This section is empty.

Jump to

Keyboard shortcuts

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