mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
add PartyFunc and gofmt -s -w . 🔷
Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
This commit is contained in:
7
iris.go
7
iris.go
@@ -276,6 +276,13 @@ func (app *Application) View(writer io.Writer, filename string, layout string, b
|
||||
}
|
||||
|
||||
var (
|
||||
// Party is just a group joiner of routes which have the same prefix and share same middleware(s) also.
|
||||
// Party could also be named as 'Join' or 'Node' or 'Group' , Party chosen because it is fun.
|
||||
//
|
||||
// Look the `core/router#APIBuilder` for its implementation.
|
||||
//
|
||||
// A shortcut for the `core/router#Party`, useful when `PartyFunc` is being used.
|
||||
Party router.Party
|
||||
// LimitRequestBodySize is a middleware which sets a request body size limit
|
||||
// for all next handlers in the chain.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user