mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
Merge pull request #939 from StefanPahlplatz/patch-1
Fixed a typo Former-commit-id: 5208cc634d069f373d282663a001937bb657390b
This commit is contained in:
commit
2955edd81c
|
@ -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)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user