mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 23:07:03 +00:00
Instead of this article, I just found, shows you how to inject the main
server, now you can just use the:
iris.ListenTo(config.Server{WriteTimeout: 5* time.Second, ReadTimeout=
5*time.Second, ListeningAddr:":8080"})