errorpages

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) func(http.Handler) http.Handler

Types

type Config

type Config struct {
	RoutePages  alaye.ErrorPages
	HostPages   alaye.ErrorPages
	GlobalPages alaye.ErrorPages
	EnableCache bool // Cache error pages in memory to avoid disk I/O
}

Jump to

Keyboard shortcuts

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