Test_Proxy_Empty_Upstream_Servers() — fiber Function Reference
Architecture documentation for the Test_Proxy_Empty_Upstream_Servers() function in proxy_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 0877def9_fcd4_b5b1_47d7_9235c5c164f7["Test_Proxy_Empty_Upstream_Servers()"] a7c70172_e40a_6ad6_65b6_b8f508cfb0a2["proxy_test.go"] 0877def9_fcd4_b5b1_47d7_9235c5c164f7 -->|defined in| a7c70172_e40a_6ad6_65b6_b8f508cfb0a2 style 0877def9_fcd4_b5b1_47d7_9235c5c164f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/proxy/proxy_test.go lines 85–97
func Test_Proxy_Empty_Upstream_Servers(t *testing.T) {
t.Parallel()
defer func() {
if r := recover(); r != nil {
if r != "Servers cannot be empty" {
panic(r)
}
}
}()
app := fiber.New()
app.Use(Balancer(Config{Servers: []string{}}))
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Test_Proxy_Empty_Upstream_Servers() do?
Test_Proxy_Empty_Upstream_Servers() is a function in the fiber codebase, defined in middleware/proxy/proxy_test.go.
Where is Test_Proxy_Empty_Upstream_Servers() defined?
Test_Proxy_Empty_Upstream_Servers() is defined in middleware/proxy/proxy_test.go at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free