Home / Function/ newCustomApp() — fiber Function Reference

newCustomApp() — fiber Function Reference

Architecture documentation for the newCustomApp() function in router_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  c4f82a93_8940_d363_0257_1b9cc4cd3148["newCustomApp()"]
  326d7e00_9e4f_d854_0c78_b9c0c93e5537["router_test.go"]
  c4f82a93_8940_d363_0257_1b9cc4cd3148 -->|defined in| 326d7e00_9e4f_d854_0c78_b9c0c93e5537
  c2f063b6_2841_e527_034a_a600f3fdd433["Test_NextCustom_MethodNotAllowed()"]
  c2f063b6_2841_e527_034a_a600f3fdd433 -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148
  b66263b7_a1fa_f31c_9368_f3794e87c11d["Test_NextCustom_NotFound()"]
  b66263b7_a1fa_f31c_9368_f3794e87c11d -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148
  2e0c1918_a7b7_b562_12bb_975b62406230["Test_RequestHandler_CustomCtx_NotImplemented()"]
  2e0c1918_a7b7_b562_12bb_975b62406230 -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148
  6996eb09_9f0a_68b3_6ae2_d5e605dfa0dd["Test_NextCustom_Matched404()"]
  6996eb09_9f0a_68b3_6ae2_d5e605dfa0dd -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148
  eb2eedc5_7b64_0394_9b07_cce02141b897["Test_NextCustom_SkipMountAndNoHandlers()"]
  eb2eedc5_7b64_0394_9b07_cce02141b897 -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148
  style c4f82a93_8940_d363_0257_1b9cc4cd3148 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

router_test.go lines 1927–1931

func newCustomApp() *App {
	return NewWithCustomCtx(func(app *App) CustomCtx {
		return &customCtx{DefaultCtx: *NewDefaultCtx(app)}
	})
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does newCustomApp() do?
newCustomApp() is a function in the fiber codebase, defined in router_test.go.
Where is newCustomApp() defined?
newCustomApp() is defined in router_test.go at line 1927.
What calls newCustomApp()?
newCustomApp() is called by 5 function(s): Test_NextCustom_Matched404, Test_NextCustom_MethodNotAllowed, Test_NextCustom_NotFound, Test_NextCustom_SkipMountAndNoHandlers, Test_RequestHandler_CustomCtx_NotImplemented.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free