Jingwen Owen Ou
a41434aac3
Clarify more of SkipClean
2016-05-02 10:24:09 -07:00
Jingwen Owen Ou
786d36e5ab
go fmt
2016-03-07 11:43:49 -08:00
Dave Newman
8ac5cf967f
Add SkipClean option
...
By default paths are run through the cleanPath method which prevents
using fancier paths like /fetch/http://xkcd.com/534
This adds a SkipClean option so that this path isn't redirected to
/fetch/http/xkcd.com/534
2016-03-07 11:41:38 -08:00
Matt Silverlock
02c98b3f73
[docs] Satisfied golint.
...
- SkipRouter should also be ErrRouterSkipped (or similar) but a change would
break the public API.
2016-02-28 19:32:22 -08:00
bign8
c329c7d193
Potential fix for #20
2015-12-25 13:18:57 -07:00
Matt Casper
ac3897eae3
Fix a typo in the comments, add a few comment docs
2015-10-03 00:21:00 -07:00
Orne Brocaar
13c8226081
Update comment and specify KeepContext option.
2015-08-05 10:24:37 +02:00
Orne Brocaar
39cff3481c
Add note about the availability of CurrentRoute.
2015-08-05 09:26:50 +02:00
Kamil Kisiel
f15e0c4946
Merge pull request #100 from eastwood/master
...
Issue #16 : Added regex support for matching headers
2015-07-27 09:40:50 -07:00
Clint Ryan
98fb535d77
Issue 16: Return the regexp compile error
2015-07-19 18:57:47 +10:00
Dj Gilcrease
92ae1d6726
Update the walk method to walk matchers so it walks the full list of routers and child routers
2015-07-09 11:46:53 -07:00
Clint Ryan
c21431a6cd
Fixed up commenting and removed unused code
2015-07-05 20:18:38 +10:00
Craig Jellick
c0a5cbce5a
Fix typo
...
Issue #16 : Added regex support for matching headers
Issue #16 : Addressed code review and refactored support for regex into
a separate function
Added compiled regex to route matcher
2015-07-05 20:15:55 +10:00
Kamil Kisiel
8a875a034c
Merge pull request #52 from sqs/BuildVarsFunc
...
BuildVarsFunc: modify route variables before building the URL from a route
2015-02-13 11:22:55 -08:00
Kamil Kisiel
854d482e26
Fix racy modification of NotFoundHandler.
2014-06-04 14:12:38 -07:00
Quinn Slack
a883d5a9b9
Call parent BuildVarsFuncs
2014-04-23 11:44:16 -07:00
Quinn Slack
cef3b0cd6d
Add BuildVarsFunc to allow modifying route variables before generating a route's URL
2014-04-23 11:44:16 -07:00
Thomas ten Cate
b864f07c53
Propagate StrictSlash to subrouters instead of rudely turning it off
2014-04-23 19:53:35 +02:00
Thomas ten Cate
033224c12e
Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down
2014-04-23 18:19:14 +02:00
Quinn Slack
9ee70e572c
gofmt
2014-04-17 00:44:35 -07:00
Philip Schlump
d10d5466f2
Fixed problem with droping query string.
2013-11-14 19:27:38 -07:00
Julien Schmidt
0ae6d35b08
Fix typo
...
remove doubly present "the"
2013-09-11 20:33:30 +02:00
John Nadratowski
e718e932ee
Add KeepContext flag to Router to disable clearing of context data.
2013-07-09 21:15:18 -07:00
Sergey Shepelev
38545dbae8
Removed excess bool variable assignment in ifs
2013-02-03 06:48:19 +04:00
Jongmin Kim
78f6049258
Update mux.go
...
unnecessary comma
2013-01-17 17:52:41 +09:00
moraes
eac83ba2c0
Initial files.
2012-10-03 01:48:17 -03:00