This fixes cases such as invalid paths being silently discarded after creation by throwing a visible error in such cases. Due to the way gorilla/mux's fluent API is designed, it is necessary to manually call `.GetError()` to check for errors while building routes. |
||
|---|---|---|
| .. | ||
| file.go | ||
| file_test.go | ||
| http.go | ||
| http_test.go | ||
| proxy.go | ||
| proxy_test.go | ||
| rewrite.go | ||
| rewrite_test.go | ||
| static.go | ||
| static_test.go | ||
| upstream_suite_test.go | ||