1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-10-21 19:20:05 +03:00
parent dbba631df4
commit 3962710d3d
109 changed files with 4383 additions and 2658 deletions

View File

@@ -24,7 +24,7 @@ func main() {
mvc.New(app).Handle(new(controllers.HomeController))
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":5000"))
}
type err struct {

View File

@@ -16,7 +16,7 @@ func main() {
mvc.New(app.Party("/api/values/{id}")).
Handle(new(controllers.ValuesController))
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":5000"))
}
// +2MB/s faster than the previous implementation, 0.4MB/s difference from the raw handlers.

View File

@@ -24,9 +24,7 @@ func main() {
app.Delete("/del", delHandler)
*/
// 24 August 2017: Iris has a built'n version updater but we don't need it
// when benchmarking...
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":5000"))
}
// Set and Get

View File

@@ -8,5 +8,5 @@ func main() {
ctx.WriteString("value")
})
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":5000"))
}