1
0
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:
hiveminded
2017-08-01 22:25:08 +03:00
parent 351f099ad6
commit 9143ccec6e
8 changed files with 73 additions and 8 deletions

View File

@@ -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.
//