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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user