mirror of
https://github.com/kataras/iris.git
synced 2025-03-15 08:06:27 +01:00
I think my english are going better
Former-commit-id: a4218c54aa0d090873955bb660cecae0dc49f7fa
This commit is contained in:
parent
bcd7b3b169
commit
4968fe353e
12
doc.go
12
doc.go
|
@ -32,18 +32,22 @@ Basic HTTP API.
|
||||||
Iris is a very pluggable ecosystem,
|
Iris is a very pluggable ecosystem,
|
||||||
router can be customized by adapting a 'RouterBuilderPolicy && RouterReversionPolicy'.
|
router can be customized by adapting a 'RouterBuilderPolicy && RouterReversionPolicy'.
|
||||||
|
|
||||||
By adapted a router users are able to use router's features on the route's Path,
|
With the power of Iris' router adaptors, developers are able to use any
|
||||||
the rest of the HTTP API and Context's calls remains the same for all routers, as expected.
|
third-party router's path features without any implications to the rest
|
||||||
|
of their API.
|
||||||
|
|
||||||
- httprouter, it's a custom version of https://github.comjulienschmidt/httprouter,
|
A Developer is able to select between two out-of-the-box powerful routers:
|
||||||
|
|
||||||
|
Httprouter, it's a custom version of https://github.comjulienschmidt/httprouter,
|
||||||
which is edited to support iris' subdomains, reverse routing, custom http errors and a lot features,
|
which is edited to support iris' subdomains, reverse routing, custom http errors and a lot features,
|
||||||
it should be a bit faster than the original too because of iris' Context.
|
it should be a bit faster than the original too because of iris' Context.
|
||||||
It uses `/mypath/:firstParameter/path/:secondParameter` and `/mypath/*wildcardParamName` .
|
It uses `/mypath/:firstParameter/path/:secondParameter` and `/mypath/*wildcardParamName` .
|
||||||
|
|
||||||
- gorillamuxa, it's the https://github.com/gorilla/mux which supports subdomains,
|
Gorilla Mux, it's the https://github.com/gorilla/mux which supports subdomains,
|
||||||
custom http errors, reverse routing, pattern matching via regex and the rest of the iris' features.
|
custom http errors, reverse routing, pattern matching via regex and the rest of the iris' features.
|
||||||
It uses `/mypath/{firstParameter:any-regex-valid-here}/path/{secondParameter}` and `/mypath/{wildcardParamName:.*}`
|
It uses `/mypath/{firstParameter:any-regex-valid-here}/path/{secondParameter}` and `/mypath/{wildcardParamName:.*}`
|
||||||
|
|
||||||
|
|
||||||
Example code:
|
Example code:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user