Event refactor

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-07-18 10:45:05 -03:00
parent 6eaece99c5
commit 4731d8ec98
17 changed files with 198 additions and 125 deletions

View File

@@ -131,6 +131,6 @@ func main() {
go monitorNetworks()
r := router.NewRouter(director, config.SSHKeyPath)
r.Listen(":443", ":53", ":22")
r.ListenAndWait(":443", ":53", ":22")
defer r.Close()
}