handler

package
Version: v0.0.0-...-8cb6e7e Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL