Match returns true if r matches m.
(r *http.Request)
| 421 | |
| 422 | // Match returns true if r matches m. |
| 423 | func (m MatchPath) Match(r *http.Request) bool { |
| 424 | match, _ := m.MatchWithError(r) |
| 425 | return match |
| 426 | } |
| 427 | |
| 428 | // MatchWithError returns true if r matches m. |
| 429 | func (m MatchPath) MatchWithError(r *http.Request) (bool, error) { |
nothing calls this directly
no test coverage detected