1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

move benchmarks to a repository which its results are re-calculated and its README re-generated on each run. This will allow dev community to participate and contribute

Former-commit-id: 64287e0be3861663f58fb581cd1f9822379f6586
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-03-12 01:51:21 +02:00
parent aea836efc7
commit 264c417f4e
114 changed files with 6 additions and 25451 deletions

View File

@@ -46,7 +46,8 @@ func newApp() *iris.Application {
// a JSON and 200 status code
// or 202 status code and empty body
// or a 409 status code and "my_error" body.
app.HandleFunc(iris.MethodPost, "/{id:int}", middleware, handler)
app.UseFunc(middleware)
app.HandleFunc(iris.MethodPost, "/{id:int}", handler)
app.Configure(
iris.WithOptimizations, /* optional */