middleware

package
v0.0.0-...-e518a47 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(cfg LoggerConfig) cafe.Middleware

func Recovery

func Recovery(cfg RecoveryConfig) cafe.Middleware

Types

type LoggerConfig

type LoggerConfig struct {
	Output io.Writer
}

type RecoveryConfig

type RecoveryConfig struct {
	WithStack bool
	Output    io.Writer
}

Jump to

Keyboard shortcuts

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