errorhandler

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDefault = Config{
	ResCloudTraceHeader: true,
	Log:                 true,
	LogRetStatus:        false,
}

ConfigDefault is the default config

Functions

func New

func New(config ...Config) fiber.ErrorHandler

Types

type Config

type Config struct {
	// ResponseTraceHeader : 回應 cloud trace header
	ResCloudTraceHeader bool
	Log                 bool
	LogRetStatus        bool
}

Config defines the config for middleware.

Jump to

Keyboard shortcuts

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