mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 20:37:05 +00:00
add example for #1601
This commit is contained in:
@@ -11,7 +11,7 @@ we use the `iris.Addr` which is an `iris.Runner` type
|
||||
|
||||
```go
|
||||
// Listening on tcp with network address 0.0.0.0:8080
|
||||
// app.Listen(":8080") it's a shortcut of:
|
||||
// app.Listen(":8080") is just a shortcut of:
|
||||
app.Run(iris.Addr(":8080"))
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user