Test_App_Shutdown() — fiber Function Reference
Architecture documentation for the Test_App_Shutdown() function in app_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 1fd18926_0341_7df2_eeab_2b80ed4ff810["Test_App_Shutdown()"] e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"] 1fd18926_0341_7df2_eeab_2b80ed4ff810 -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5 style 1fd18926_0341_7df2_eeab_2b80ed4ff810 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
app_test.go lines 1347–1362
func Test_App_Shutdown(t *testing.T) {
t.Parallel()
t.Run("success", func(t *testing.T) {
t.Parallel()
app := New()
require.NoError(t, app.Shutdown())
})
t.Run("no server", func(t *testing.T) {
t.Parallel()
app := &App{}
if err := app.Shutdown(); err != nil {
require.ErrorContains(t, err, "shutdown: server is not running")
}
})
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Test_App_Shutdown() do?
Test_App_Shutdown() is a function in the fiber codebase, defined in app_test.go.
Where is Test_App_Shutdown() defined?
Test_App_Shutdown() is defined in app_test.go at line 1347.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free