(c *echo.Context)
| 878 | } |
| 879 | |
| 880 | func (b *customBalancer) Next(c *echo.Context) (*ProxyTarget, error) { |
| 881 | ctx := context.WithValue(c.Request().Context(), testContextKey("FROM_BALANCER"), "CUSTOM_BALANCER") |
| 882 | c.SetRequest(c.Request().WithContext(ctx)) |
| 883 | return b.target, nil |
| 884 | } |
| 885 | |
| 886 | type sequenceBalancer struct { |
| 887 | targets []*ProxyTarget |
nothing calls this directly
no test coverage detected