Kamil Kisiel
dc83507598
[docs] README.md: Improve "walking routes" example. ( #337 ) ( #323 )
...
Fixes #323 .
Also removed the duplicate "listing routes" example.
2018-01-19 20:47:48 -08:00
safeoy
3dbb9ed96e
README.md: add miss "time" ( #336 )
2018-01-19 20:20:16 -08:00
Matt Silverlock
69dae3b874
[docs] Add testing example ( #331 )
2018-01-16 23:16:36 -08:00
Matt Silverlock
63c5c2f1f0
[docs] Fix Middleware docs typos ( #332 )
2018-01-16 23:16:06 -08:00
Kush Mansingh
0b74e3d0fe
Make shutdown docs compilable ( #330 )
2018-01-16 14:43:47 -08:00
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.
2018-01-16 09:23:47 -08:00
Matt Silverlock
5bbbb5b2b5
[docs] Add graceful shutdown example ( #329 )
2018-01-07 07:57:08 -08:00
Paul B. Beskow
10490f55fa
GetQueryTemplates and GetQueryRegexp extraction ( #304 )
...
Developers can now extract the query templates and regexps
from a router as lists of combined query pairs.
2017-10-19 18:19:04 -07:00
Matthew Riley
3f19343c7d
[docs] Document evaluation order for routes ( #297 )
2017-09-22 13:54:14 -07:00
Stephan Renatus
24fca303ac
[docs] README.md: add missing . ( #292 )
2017-09-05 10:10:44 -07:00
Chris Hines
c7a138dbc1
Update docs.
2017-06-02 12:31:40 -07:00
Nick Hudkins
043ee6597c
Update Walking Routes Section
...
Fixed invalid method chaining.
2017-05-23 18:01:04 -07:00
Nick Hudkins
59ce66852b
Fix invalid example code
...
In the "List Routes" example code, `.HandleFunc` was being called on a `*mux.Route` rather than `*mux.Router`. Updated the example code to work :)
2017-05-23 18:01:04 -07:00
Brian Michel
85b8c203a4
Removing half of conflict marker ( #268 )
...
Looks like there was just part of a conflict marker in the README file, so I figured I'd remove it.
2017-05-22 19:46:13 -07:00
Nick Miyake
456bcfa82d
Update README with example for Router.Walk
2017-05-22 08:17:48 -07:00
Bulat Gaifullin
751308a60a
Updated README
2017-05-20 15:55:46 -07:00
David J. Felix
89d16fe9a0
Add sourcegraph badge
...
Fixes #228
2017-02-23 14:57:28 -05:00
Shawn Smith
cafdb65e9e
[docs] Add route listing example to README
...
* Update README.md
* Update README.md
2017-01-18 05:43:23 -08:00
Ken Wronkiewicz
910dd3aa31
Remove unnecessary line from example
...
Review comment: setting the header complicates things.
2016-10-03 15:30:11 -07:00
Ken Wronkiewicz
239e05fe53
Clarify how route variables work. ( #151 )
...
(this confused the heck out of me while trying to use Gorilla)
* Changed `request` to be just `r`, like the other handlers.
* Created complete wrapper function instead of just 2 lines.
2016-09-30 10:54:10 -07:00
Matt Silverlock
7804150971
[docs] Add logo to README. ( #180 )
2016-08-01 10:00:46 -07:00
Matt Silverlock
3b15f12d15
[docs] Add static file example to README; doc.go. ( #179 )
2016-08-01 08:51:14 -07:00
delong
198f95d824
fix README.md
2016-07-18 13:28:55 +08:00
Mukhtar Haji
0d753bb8ca
Log ListenAndServe's err response.
2016-05-25 14:44:10 +01:00
Matt Silverlock
5f42f0f524
[docs] Add http://www.gorillatoolkit.org/pkg/mux to README.
2016-02-28 12:25:42 -08:00
Timothy Cyrus
66181ed337
Update README.md
2015-12-31 11:12:17 -05:00
Matt Silverlock
e45852e537
Fixed GoDoc badge.
2015-08-14 22:25:16 +08:00
Kamil Kisiel
b0b2bc47bc
Quote domain names in README.md. Use example.com instead of domain.com
...
Fixes #119
2015-08-13 12:01:04 -07:00
Matt Silverlock
ca524fd37f
Updated README w/ runnable example. Addresses #32 .
2015-08-08 12:41:49 +08:00
Kamil Kisiel
780d0505d7
Update README
2015-08-06 20:46:08 -07:00
Kamil Kisiel
e807f7c338
Add Travis badge
2013-11-30 13:26:46 -08:00
rodrigo moraes
9b36453141
Update README.md
2013-04-08 09:01:04 -03:00
rodrigo moraes
4e8d10dc71
Initial commit
2012-10-02 14:32:24 -07:00