MCPcopy Index your code
hub / github.com/labstack/echo / TestMustProxyWithConfig_emptyBalancerPanics

Function TestMustProxyWithConfig_emptyBalancerPanics

middleware/proxy_test.go:131–135  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

129}
130
131func TestMustProxyWithConfig_emptyBalancerPanics(t *testing.T) {
132 assert.Panics(t, func() {
133 ProxyWithConfig(ProxyConfig{Balancer: nil})
134 })
135}
136
137func TestProxyRealIPHeader(t *testing.T) {
138 // Setup

Callers

nothing calls this directly

Calls 1

ProxyWithConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…