Home / Function/ startServer() — fiber Function Reference

startServer() — fiber Function Reference

Architecture documentation for the startServer() function in proxy_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  fc2b6784_0dfb_d6e2_4148_406d442e8019["startServer()"]
  a7c70172_e40a_6ad6_65b6_b8f508cfb0a2["proxy_test.go"]
  fc2b6784_0dfb_d6e2_4148_406d442e8019 -->|defined in| a7c70172_e40a_6ad6_65b6_b8f508cfb0a2
  0d529e8d_669f_2737_82d9_1b5db3f5b986["createProxyTestServer()"]
  0d529e8d_669f_2737_82d9_1b5db3f5b986 -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  188b57dc_09d5_e4f7_7fbc_66e91710cb07["createRedirectServer()"]
  188b57dc_09d5_e4f7_7fbc_66e91710cb07 -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  d29f3efb_6733_d009_8011_f05f1dc75abf["Test_Proxy_Balancer_WithTlsConfig()"]
  d29f3efb_6733_d009_8011_f05f1dc75abf -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  1ed2ba74_c0c9_7000_c257_9fd2e512f21f["Test_Proxy_Forward_WithTlsConfig_To_Http()"]
  1ed2ba74_c0c9_7000_c257_9fd2e512f21f -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  00f27c08_3330_1e3c_282c_95474d989ced["Test_Proxy_Forward_WithClient_TLSConfig()"]
  00f27c08_3330_1e3c_282c_95474d989ced -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  23fd4856_5219_6d71_6f39_6befe9ad0ce6["Test_Proxy_Forward_Global_Client()"]
  23fd4856_5219_6d71_6f39_6befe9ad0ce6 -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  ca79e0cf_7a40_0504_6416_9c9d07ef8e1c["Test_Proxy_Forward_Local_Client()"]
  ca79e0cf_7a40_0504_6416_9c9d07ef8e1c -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  63d4a789_ba9a_24e9_b5c8_2227cc7d9e44["Test_Proxy_Domain_Forward_Local()"]
  63d4a789_ba9a_24e9_b5c8_2227cc7d9e44 -->|calls| fc2b6784_0dfb_d6e2_4148_406d442e8019
  style fc2b6784_0dfb_d6e2_4148_406d442e8019 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/proxy/proxy_test.go lines 22–31

func startServer(app *fiber.App, ln net.Listener) {
	go func() {
		err := app.Listener(ln, fiber.ListenConfig{
			DisableStartupMessage: true,
		})
		if err != nil {
			panic(err)
		}
	}()
}

Domain

Subdomains

Frequently Asked Questions

What does startServer() do?
startServer() is a function in the fiber codebase, defined in middleware/proxy/proxy_test.go.
Where is startServer() defined?
startServer() is defined in middleware/proxy/proxy_test.go at line 22.
What calls startServer()?
startServer() is called by 8 function(s): Test_Proxy_Balancer_WithTlsConfig, Test_Proxy_Domain_Forward_Local, Test_Proxy_Forward_Global_Client, Test_Proxy_Forward_Local_Client, Test_Proxy_Forward_WithClient_TLSConfig, Test_Proxy_Forward_WithTlsConfig_To_Http, createProxyTestServer, createRedirectServer.

Analyze Your Own Codebase

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

Try Supermodel Free