handler

package
v0.0.0-...-3afba29 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheableNotFound

func CacheableNotFound(req *air.Request, res *air.Response, maxAge int) error

CacheableNotFound returns cacheable not found error.

func Error

func Error(err error, req *air.Request, res *air.Response)

Error handles errors.

func MethodNotAllowed

func MethodNotAllowed(req *air.Request, res *air.Response) error

MethodNotAllowed returns method not allowed error.

func NotFound

func NotFound(req *air.Request, res *air.Response) error

NotFound returns not found error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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