(req *http.Request)
| 78 | } |
| 79 | |
| 80 | func (p *segmentPredicate) Match(req *http.Request) bool { |
| 81 | r := routing.FromContext(req.Context(), randomValue, p.randFloat64) |
| 82 | // min == max defines a never-matching interval and always yields false |
| 83 | return p.min <= r && r < p.max |
| 84 | } |
nothing calls this directly
no test coverage detected