mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 02:46:28 +01:00
Update doc
Former-commit-id: c62184510b2ff88656eac7d81b66c3130f0eafc9
This commit is contained in:
parent
bef726894d
commit
805ba56863
20
doc.go
20
doc.go
|
@ -147,8 +147,8 @@ Example code:
|
|||
Parameterized Path
|
||||
|
||||
|
||||
Path Parameters' syntax depends on the selected router
|
||||
Note: This is the only difference between the routers, the registered path form, the API remains the same for both.
|
||||
Path Parameters' syntax depends on the selected router.
|
||||
This is the only difference between the routers, the registered path form, the API remains the same for both.
|
||||
|
||||
Example `gorillamux` code:
|
||||
|
||||
|
@ -214,7 +214,6 @@ Example `gorillamux` code:
|
|||
}
|
||||
|
||||
|
||||
|
||||
Example `httprouter` code:
|
||||
|
||||
|
||||
|
@ -284,7 +283,10 @@ Example `httprouter` code:
|
|||
Grouping Routes
|
||||
|
||||
|
||||
A set of routes that are being groupped by path prefix can (optionally) share the same middleware handlers and template layou.
|
||||
A set of routes that are being groupped by path prefix can (optionally) share the same middleware handlers and template layout.
|
||||
A group can have a nested group too.
|
||||
|
||||
`.Party` is being used to group routes, developers can declare an unlimited number of (nested) groups.
|
||||
|
||||
|
||||
Example code:
|
||||
|
@ -609,10 +611,12 @@ That's the basics
|
|||
But you should have a basic idea of the framework by now, we just scratched the surface.
|
||||
If you enjoy what you just saw and want to learn more, please follow the below links:
|
||||
|
||||
Examples: https://github.com/iris-contrib/examples
|
||||
Adaptors: https://github.com/kataras/iris/tree/v6/adaptors
|
||||
Middleware: https://github.com/kataras/iris/tree/v6/middleware and
|
||||
https://github.com/iris-contrib/middleware
|
||||
* Examples: https://github.com/iris-contrib/examples
|
||||
|
||||
* Adaptors: https://github.com/kataras/iris/tree/v6/adaptors
|
||||
|
||||
* Middleware: https://github.com/kataras/iris/tree/v6/middleware and
|
||||
* https://github.com/iris-contrib/middleware
|
||||
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user