51 Commits (master)

Author SHA1 Message Date
Jille Timmermans 3cf0d013e5
Include "404" and "405" in the docs (#602) 4 years ago
Eric Skoglund 948bec34b5
docs: Remove stale text from comment. (#568) 6 years ago
Franklin Harding f395758b85 Remove/cleanup request context helpers (#525) 6 years ago
Christian Muehlhaeuser eab9c4f3d2 Simplify code (#501) 6 years ago
Benjamin Boudreau 15a353a636 adding Router.Name to create new Route (#457) 7 years ago
Michael Li 6137e193cd remove redundant code that remove support gorilla/context (#427) 7 years ago
Joe Wilner 758eb64354 Improve subroute configuration propagation #422 7 years ago
Matt Silverlock e3702bed27
[docs] Improve docstrings for middleware, skipclean (#375) 8 years ago
Matt Silverlock ded0c29b24
Fix linter issues (docs) (#370) 8 years ago
Roberto Santalla 53c1911da2 [feat] Add middleware support as discussed in #293 (#294) 8 years ago
Matt Silverlock c572efe429 [docs] Note StrictSlash re-direct behaviour #308 (#321) 8 years ago
Chris Dostert 2d5fef06b8 [docs] fix outdated UseEncodedPath method docs (#314) 8 years ago
Roberto Santalla 7f08801859 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311) 8 years ago
Kamil Kisiel 9f48112f18 [docs] Document router.Match (#313) 8 years ago
Mike Busch c9183aaddd use req.URL.EscapedPath() instead of getPath(req) (#306) 8 years ago
Mayank Patel a659b61323 Fix #271: Return 405 instead of 404 when request method doesn't match the route 8 years ago
Chris Hines 37b3a6cace Use scheme from parent router when building URLs. 9 years ago
Cody Oss 8c683ee571 Fix typo 9 years ago
Nick Miyake 4d814f7650 Update ancestors parameter for WalkFunc for matcher subrouters 9 years ago
Nick Miyake a322b2c2ec Update Walk to match all subrouters 9 years ago
Kush Mansingh 0a192a1931 Add useEncodedPath option to router and routes (#190) 9 years ago
Aaron Taylor 34bf6dc9fa make the getPath method safer, fixing panics within App Engine (#189) 9 years ago
Kush Mansingh 674ef1c280 Add mechanism to route based on the escaped path (#184) 9 years ago
Martin Hamrle cf57124f1d Fix error handling in Router.Walk 10 years ago
Eric J. Holmes fdfca9f917 Support native context.Context when go1.7 is used. 10 years ago
Jingwen Owen Ou a41434aac3 Clarify more of `SkipClean` 10 years ago
Jingwen Owen Ou 786d36e5ab `go fmt` 10 years ago
Dave Newman 8ac5cf967f Add SkipClean option 10 years ago
Matt Silverlock 02c98b3f73 [docs] Satisfied golint. 10 years ago
bign8 c329c7d193 Potential fix for #20 10 years ago
Matt Casper ac3897eae3 Fix a typo in the comments, add a few comment docs 10 years ago
Orne Brocaar 13c8226081 Update comment and specify KeepContext option. 11 years ago
Orne Brocaar 39cff3481c Add note about the availability of CurrentRoute. 11 years ago
Clint Ryan 98fb535d77 Issue 16: Return the regexp compile error 11 years ago
Dj Gilcrease 92ae1d6726 Update the walk method to walk matchers so it walks the full list of routers and child routers 11 years ago
Clint Ryan c21431a6cd Fixed up commenting and removed unused code 11 years ago
Craig Jellick c0a5cbce5a Fix typo 11 years ago
Craig Jellick a063f14812 Fix typo 11 years ago
Kamil Kisiel 854d482e26 Fix racy modification of NotFoundHandler. 12 years ago
Quinn Slack a883d5a9b9 Call parent BuildVarsFuncs 12 years ago
Quinn Slack cef3b0cd6d Add BuildVarsFunc to allow modifying route variables before generating a route's URL 12 years ago
Thomas ten Cate b864f07c53 Propagate StrictSlash to subrouters instead of rudely turning it off 12 years ago
Thomas ten Cate 033224c12e Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down 12 years ago
Quinn Slack 9ee70e572c gofmt 12 years ago
Philip Schlump d10d5466f2 Fixed problem with droping query string. 12 years ago
Julien Schmidt 0ae6d35b08 Fix typo 12 years ago
John Nadratowski e718e932ee Add KeepContext flag to Router to disable clearing of context data. 13 years ago
Sergey Shepelev 38545dbae8 Removed excess bool variable assignment in `if`s 13 years ago
Jongmin Kim 78f6049258 Update mux.go 13 years ago
moraes eac83ba2c0 Initial files. 13 years ago