Test_HealthCheck_Default() — fiber Function Reference
Architecture documentation for the Test_HealthCheck_Default() function in healthcheck_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 73ae6fdf_3d7f_521c_a618_3a8488b96caf["Test_HealthCheck_Default()"] 06fd3a09_de22_eff7_9240_dbc4380b44fd["healthcheck_test.go"] 73ae6fdf_3d7f_521c_a618_3a8488b96caf -->|defined in| 06fd3a09_de22_eff7_9240_dbc4380b44fd b84cfa43_3829_3325_7bf1_bf0168edaf69["shouldGiveOK()"] 73ae6fdf_3d7f_521c_a618_3a8488b96caf -->|calls| b84cfa43_3829_3325_7bf1_bf0168edaf69 7c7febee_2f94_5956_c222_a338763a6a5f["shouldGiveNotFound()"] 73ae6fdf_3d7f_521c_a618_3a8488b96caf -->|calls| 7c7febee_2f94_5956_c222_a338763a6a5f style 73ae6fdf_3d7f_521c_a618_3a8488b96caf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/healthcheck/healthcheck_test.go lines 53–70
func Test_HealthCheck_Default(t *testing.T) {
t.Parallel()
app := fiber.New()
app.Get(LivenessEndpoint, New())
app.Get(ReadinessEndpoint, New())
app.Get(StartupEndpoint, New())
shouldGiveOK(t, app, "/readyz")
shouldGiveOK(t, app, "/livez")
shouldGiveOK(t, app, "/startupz")
shouldGiveOK(t, app, "/readyz/")
shouldGiveOK(t, app, "/livez/")
shouldGiveOK(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_Default() do?
Test_HealthCheck_Default() is a function in the fiber codebase, defined in middleware/healthcheck/healthcheck_test.go.
Where is Test_HealthCheck_Default() defined?
Test_HealthCheck_Default() is defined in middleware/healthcheck/healthcheck_test.go at line 53.
What does Test_HealthCheck_Default() call?
Test_HealthCheck_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