Keelan Lightfoot
808cf93f71
fixed broken case in readme
6 years ago
Keelan Lightfoot
f4e22cffb2
fixed broken case in readme
6 years ago
Keelan Lightfoot
90feea4d78
removed line break in readme
6 years ago
Keelan Lightfoot
842cbfc85a
pathrouter intitial commit
6 years ago
Julien Schmidt
d189839077
travis: fix Go 1.10 env
7 years ago
Julien Schmidt
8545a7bcb5
travis: test with Go 1.10
7 years ago
Julien Schmidt
a859014af4
rename params files
7 years ago
Rodolfo Rodriguez
1a335ec78c
Update README.md (#225 )
7 years ago
Marcus Franke
6115e6d293
travis: go versions (#227 )
There is a gap in the tested go versions. tip points already to the coming 1.10.
I added the kind of missing 1.9 release
7 years ago
Travis Parker
d767e59089
Params via Go 1.7 Contexts (#147 )
* Supports Params in net/http Handlers with go1.7+
Go 1.7 introduces request-scoped context, providing a place to hang
Params even in net/http standard Handlers attached with Router.Handler
or Router.HandlerFunc.
This provides an alternative implementation of Router.Handler which
attaches the params to the request context. It also includes a bit of
new public API: ParamsKey is the context key used, and
ParamsFromContext uses ParamsKey to get Params from a context.Context.
All of this is guarded by a "go1.7" build tag. With go 1.6 and older
none of the new API is available and Params continue to be thrown away
in Handler/HandlerFunc-attached endpoints.
* WithValue is the 'context' function
* use an un-exported struct{} alias to collision-proof the key
* no longer a const
* update README.md to reflect additional allocations with the stdlib-compatible api
7 years ago
Conor Landry
e1b9828bc9
README: Fix typo in example code comment for ServeHTTP method (#193 )
7 years ago
Edward Betts
1779f7e889
README: fix typo (#215 )
Same as #221 🤷♂️
7 years ago
Rebecca Stambler
0b0afca848
router_test.go: fix to handle changes to Content-Type header (#220 )
7 years ago
Darren Scerri
78865fbbf4
README: Fix typo (#221 )
7 years ago
Julien Schmidt
975b5c4c7c
travis: use gofmt simplify flag
7 years ago
Julien Schmidt
bc86d84272
travis: remove Go versions not supporting golint
7 years ago
Julien Schmidt
3130c1a741
travis: check go vet, gofmt and golint
7 years ago
Julien Schmidt
18be18fd6d
README: add coverage badge
7 years ago
Julien Schmidt
10689509bd
travis: remove Go 1.1
go test does not support the -covermode flag yet
7 years ago
Julien Schmidt
90dcf29ffc
travis: add coveralls
7 years ago
Julien Schmidt
e2f7b3d7cf
Test with Go 1.8
7 years ago
blinklv
6f3f3919c8
Fix some panic information when a 'catch-all' wildcard conflict occurs. (#182 )
7 years ago
Julien Schmidt
bded8bf831
README: Fix URLs
Githubs markdown renderer doesn’t seem to like this syntax
7 years ago
TobiEiss
d72fcf5176
update framework list (#180 )
Include goMiddlewareChain
* add link
7 years ago
Julien Schmidt
8a45e95fc7
Fix typo
Fixes #171
8 years ago
Julien Schmidt
5dd70ee059
Merge pull request #166 from donutloop/master
incrementChildPrio: Improved swap node position
8 years ago
Marcel Edmund Franke
d35c3c30a6
Improved swap node position
8 years ago
Julien Schmidt
4563b0ba73
Travis: Test with Go 1.7
8 years ago
Julien Schmidt
59934fa0c2
tree: Remove superfluous ' in panic reason
8 years ago
Julien Schmidt
d85e49a534
tree: Improve wildcard conflict panic reason
Fixes #151
8 years ago
Julien Schmidt
3695eeab10
README: Remove gocover.io
seems to be broken
8 years ago
Julien Schmidt
d8ff598a01
README: try to fix the coverage badge
8 years ago
Julien Schmidt
38329ebacf
Merge pull request #152 from nothingmuch/patch-1
README: Improve readability of BasicAuth example
8 years ago
Yuval Kogman
9dcdf460b9
Improve readability of BasicAuth example
Since `net/http` already provides the necessary functionality, this change removes the technical details of parsing RFC 2617 headers.
8 years ago
Julien Schmidt
fb79d6a91d
Merge pull request #150 from abiosoft/patch-1
Add River to list of frameworks
8 years ago
Abiola Ibrahim
f6757499d6
Add River to list of frameworks
8 years ago
Julien Schmidt
77366a4745
Travis: Test with Go 1.6
9 years ago
Julien Schmidt
153d9c9fa8
Add OPTIONS to list in Allow header
Fixes #132
9 years ago
Julien Schmidt
2c34ec888a
README: Add xmux the list
9 years ago
Julien Schmidt
fd848ba9ca
Update README.md
9 years ago
Julien Schmidt
b74da820a2
tree: remove dead code
9 years ago
Julien Schmidt
6e0ff1339a
tree: avoid recursion in case-insensitive when possible
9 years ago
Julien Schmidt
a7a8c643b9
Fix case-insensitive unicode lookup
Updates #113
9 years ago
Julien Schmidt
ee60de09e7
tree: fix case-insensitive unicode lookup
Fixes #113
9 years ago
Julien Schmidt
d94d446eb3
typo in comment
9 years ago
Julien Schmidt
5273944025
Native OPTIONS handling
Fixes #98
9 years ago
Julien Schmidt
b8b15a273d
tree: explicitly use node type static
Fixes #104
9 years ago
Julien Schmidt
9cf8746fac
Ignore OPTIONS as allowed method
9 years ago
Julien Schmidt
02d2b7cc4b
Send Allow header when 405 Method Not Allowed
Required by RFC 2616
9 years ago
Julien Schmidt
abb0dc9f75
Merge pull request #127 from ReadmeCritic/master
Update README URLs based on HTTP redirects
9 years ago