Duration Type — fiber Architecture
Architecture documentation for the Duration type/interface in app.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD af6d1eff_87f8_145d_fe15_fe9c40e220a5["Duration"] 258982c0_9752_bf98_01ce_836d4de563e1["app.go"] af6d1eff_87f8_145d_fe15_fe9c40e220a5 -->|defined in| 258982c0_9752_bf98_01ce_836d4de563e1 style af6d1eff_87f8_145d_fe15_fe9c40e220a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
app.go lines 1140–1151
type TestConfig struct {
// Timeout defines the maximum duration a
// test can run before timing out.
// Default: time.Second
Timeout time.Duration
// FailOnTimeout specifies whether the test
// should return a timeout error if the HTTP response
// exceeds the Timeout duration.
// Default: true
FailOnTimeout bool
}
Defined In
Source
Frequently Asked Questions
What is the Duration type?
Duration is a type/interface in the fiber codebase, defined in app.go.
Where is Duration defined?
Duration is defined in app.go at line 1140.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free