Help us shape the future of Go! Take the 2026 Go Developer Survey

middlewares

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recovery added in v1.0.1

type Recovery struct {
	CustomizeError func(err error, w http.ResponseWriter) (customized bool)
}

func NewRecovery added in v1.0.1

func NewRecovery(customizeError func(err error, w http.ResponseWriter) (customized bool)) *Recovery

func (*Recovery) Handle added in v1.0.1

func (m *Recovery) Handle(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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