mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
Fixed a typo
Former-commit-id: 4d3a281839fe2dc72d1cb67af0f6d3b04782968e
This commit is contained in:
parent
1a2af3ccac
commit
5aba0d0ff4
|
@ -5,7 +5,7 @@
|
|||
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 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
|
||||
we use the `iris.Addr` which is an `iris.Runner` type
|
||||
|
||||
|
@ -248,4 +248,4 @@ func main() {
|
|||
|
||||
app.Run(iris.Addr(":8080"), iris.WithoutInterruptHandler)
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user