MCPcopy Create free account
hub / github.com/zalando/skipper / New

Function New

proxy/proxytest/proxytest.go:75–77  ·  view source on GitHub ↗
(fr filters.Registry, routes ...*eskip.Route)

Source from the content-addressed store, hash-verified

73}
74
75func New(fr filters.Registry, routes ...*eskip.Route) *TestProxy {
76 return WithParams(fr, proxy.Params{CloseIdleConnsPeriod: -time.Second}, routes...)
77}
78
79func (c Config) CreateUnstarted() *TestProxy {
80 waitTime := 3 * time.Second

Calls 1

WithParamsFunction · 0.70