mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
🚌 next version preparation: new PreflightResult interface for hero handlers
Former-commit-id: ea2d7ab93889beaddfe269bd213d259d26df979f
This commit is contained in:
@@ -23,5 +23,5 @@ func handler(id int, in testInput) testOutput {
|
||||
func main() {
|
||||
app := iris.New()
|
||||
app.HandleFunc(iris.MethodPost, "/{id:int}", handler)
|
||||
app.Listen(":5000", iris.WithOptimizations)
|
||||
app.Listen(":8080")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user