Home / Type/ Config Type — fiber Architecture

Config Type — fiber Architecture

Architecture documentation for the Config type/interface in config.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  521b9c43_43f7_6e34_13c1_8c2a58b67657["Config"]
  9af013f8_9ad3_f8aa_bf7e_5458e861693c["config.go"]
  521b9c43_43f7_6e34_13c1_8c2a58b67657 -->|defined in| 9af013f8_9ad3_f8aa_bf7e_5458e861693c
  style 521b9c43_43f7_6e34_13c1_8c2a58b67657 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/recover/config.go lines 8–23

type Config struct {
	// Next defines a function to skip this middleware when returned true.
	//
	// Optional. Default: nil
	Next func(c fiber.Ctx) bool

	// StackTraceHandler defines a function to handle stack trace
	//
	// Optional. Default: defaultStackTraceHandler
	StackTraceHandler func(c fiber.Ctx, e any)

	// EnableStackTrace enables handling stack trace
	//
	// Optional. Default: false
	EnableStackTrace bool
}

Frequently Asked Questions

What is the Config type?
Config is a type/interface in the fiber codebase, defined in middleware/recover/config.go.
Where is Config defined?
Config is defined in middleware/recover/config.go at line 8.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free