mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
Update doc.go
Former-commit-id: 3b274fb568da4ece8cc38bba4ee3c78ccb9282dc
This commit is contained in:
parent
8410b12436
commit
4a6fc6edbe
2
doc.go
2
doc.go
|
@ -173,7 +173,7 @@ Below you'll see some useful examples:
|
||||||
app.Run(iris.Addr(":8080"))
|
app.Run(iris.Addr(":8080"))
|
||||||
|
|
||||||
|
|
||||||
// Same as before but using a custom http.Server which may being used somewhere else too
|
// Same as before but using a custom http.Server which may be in use somewhere else too
|
||||||
app.Run(iris.Server(&http.Server{Addr:":8080"}))
|
app.Run(iris.Server(&http.Server{Addr:":8080"}))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user