Config Type — fiber Architecture
Architecture documentation for the Config type/interface in config.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 9250af16_1ddb_096a_a65e_239b655664c1["Config"] de5bf39a_2182_ca77_6b7e_8177994f08b5["config.go"] 9250af16_1ddb_096a_a65e_239b655664c1 -->|defined in| de5bf39a_2182_ca77_6b7e_8177994f08b5 style 9250af16_1ddb_096a_a65e_239b655664c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/responsetime/config.go lines 8–18
type Config struct {
// Next defines a function to skip this middleware when returned true.
//
// Optional. Default: nil
Next func(c fiber.Ctx) bool
// Header is the header key used to set the response time.
//
// Optional. Default: "X-Response-Time"
Header string
}
Defined In
Source
Frequently Asked Questions
What is the Config type?
Config is a type/interface in the fiber codebase, defined in middleware/responsetime/config.go.
Where is Config defined?
Config is defined in middleware/responsetime/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