mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 19:37:03 +00:00
Update doc.go
Former-commit-id: 3b274fb568da4ece8cc38bba4ee3c78ccb9282dc
This commit is contained in:
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"}))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user