| 23 | } |
| 24 | |
| 25 | type pathRewrite struct { |
| 26 | regexp *regexp.Regexp |
| 27 | replacement string |
| 28 | } |
| 29 | |
| 30 | func (p pathRewrite) Wrap(next http.Handler) http.Handler { |
| 31 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no outgoing calls
no test coverage detected