Geon Kim
d284fd8421
Modify 403 status code to const variable ( #349 )
...
* Modify http status code to variable
* Modify doc
8 years ago
Matt Silverlock
ad8790881f
[docs] Fix doc.go ( #333 )
...
Addresses https://github.com/gorilla/mux/pull/294#discussion_r162309666
8 years ago
Kamil Kisiel
85e6bfff1a
Update doc.go: r.AddMiddleware(...) -> r.Use(...)
8 years ago
Roberto Santalla
53c1911da2
[feat] Add middleware support as discussed in #293 ( #294 )
...
* mux.Router now has a `Use` method that allows you to add middleware to request processing.
8 years ago
Chris Hines
c7a138dbc1
Update docs.
9 years ago
Adam Eijdenberg
392c28fe23
[bugfix] fail fast if regex is incorrectly specified using capturing groups. ( #218 )
9 years ago
Oliver Tonnhofer
14f5df0128
document non-capturing groups ( closes #143 )
9 years ago
Matt Silverlock
3b15f12d15
[docs] Add static file example to README; doc.go. ( #179 )
10 years ago
Matt Silverlock
02c98b3f73
[docs] Satisfied golint.
...
- SkipRouter should also be ErrRouterSkipped (or similar) but a change would
break the public API.
10 years ago
Kamil Kisiel
b0b2bc47bc
Quote domain names in README.md. Use example.com instead of domain.com
...
Fixes #119
10 years ago
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
11 years ago
Craig Jellick
a063f14812
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
11 years ago
Dmitri Shuralyov
9641367e95
Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
...
This fixes issue where if user has tab width other than 4, some lines will become misaligned. For example, see the package description at https://godoc.org/github.com/gorilla/mux .
11 years ago
Andrew Williams
9d99a92775
Remove extra parentheses
12 years ago
Kamil Kisiel
b9f42e6d55
Tweak example indent
13 years ago
Aaron Yodaiken
bb851ab75f
Add example MatcherFunc
13 years ago
moraes
eac83ba2c0
Initial files.
13 years ago