Test_HealthCheck_Strict_Routing_Default() — fiber Function Reference
Architecture documentation for the Test_HealthCheck_Strict_Routing_Default() function in healthcheck_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 9bf73fa8_2f13_70b4_a237_3ff6f9375e43["Test_HealthCheck_Strict_Routing_Default()"] 06fd3a09_de22_eff7_9240_dbc4380b44fd["healthcheck_test.go"] 9bf73fa8_2f13_70b4_a237_3ff6f9375e43 -->|defined in| 06fd3a09_de22_eff7_9240_dbc4380b44fd b84cfa43_3829_3325_7bf1_bf0168edaf69["shouldGiveOK()"] 9bf73fa8_2f13_70b4_a237_3ff6f9375e43 -->|calls| b84cfa43_3829_3325_7bf1_bf0168edaf69 7c7febee_2f94_5956_c222_a338763a6a5f["shouldGiveNotFound()"] 9bf73fa8_2f13_70b4_a237_3ff6f9375e43 -->|calls| 7c7febee_2f94_5956_c222_a338763a6a5f style 9bf73fa8_2f13_70b4_a237_3ff6f9375e43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/healthcheck/healthcheck_test.go lines 31–51
func Test_HealthCheck_Strict_Routing_Default(t *testing.T) {
t.Parallel()
app := fiber.New(fiber.Config{
StrictRouting: true,
})
app.Get(LivenessEndpoint, New())
app.Get(ReadinessEndpoint, New())
app.Get(StartupEndpoint, New())
shouldGiveOK(t, app, "/readyz")
shouldGiveOK(t, app, "/livez")
shouldGiveOK(t, app, "/startupz")
shouldGiveNotFound(t, app, "/readyz/")
shouldGiveNotFound(t, app, "/livez/")
shouldGiveNotFound(t, app, "/startupz/")
shouldGiveNotFound(t, app, "/notDefined/readyz")
shouldGiveNotFound(t, app, "/notDefined/livez")
shouldGiveNotFound(t, app, "/notDefined/startupz")
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Test_HealthCheck_Strict_Routing_Default() do?
Test_HealthCheck_Strict_Routing_Default() is a function in the fiber codebase, defined in middleware/healthcheck/healthcheck_test.go.
Where is Test_HealthCheck_Strict_Routing_Default() defined?
Test_HealthCheck_Strict_Routing_Default() is defined in middleware/healthcheck/healthcheck_test.go at line 31.
What does Test_HealthCheck_Strict_Routing_Default() call?
Test_HealthCheck_Strict_Routing_Default() calls 2 function(s): shouldGiveNotFound, shouldGiveOK.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free