mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
Fixed a typo
Former-commit-id: 4d3a281839fe2dc72d1cb67af0f6d3b04782968e
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
You can start the server(s) listening to any type of `net.Listener` or even `http.Server` instance.
|
You can start the server(s) listening to any type of `net.Listener` or even `http.Server` instance.
|
||||||
The method for initialization of the server should be passed at the end, via `Run` function.
|
The method for initialization of the server should be passed at the end, via `Run` function.
|
||||||
|
|
||||||
The most common method that Go developers are use to serve their servers are
|
The most common method that Go developers use to serve their servers are
|
||||||
by passing a network address with form of "hostname:ip". With Iris
|
by passing a network address with form of "hostname:ip". With Iris
|
||||||
we use the `iris.Addr` which is an `iris.Runner` type
|
we use the `iris.Addr` which is an `iris.Runner` type
|
||||||
|
|
||||||
@@ -248,4 +248,4 @@ func main() {
|
|||||||
|
|
||||||
app.Run(iris.Addr(":8080"), iris.WithoutInterruptHandler)
|
app.Run(iris.Addr(":8080"), iris.WithoutInterruptHandler)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user