diff options
author | Julio Capote <jcapote@gmail.com> | 2022-12-17 16:01:18 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-12-17 16:01:18 +0000 |
commit | 0f01fc1004122e18f5320f28db63830666a4c8be (patch) | |
tree | a5075856aacff848f83bdf9834bc867d109fd641 /main.go | |
parent | d3fb280a146759ca1468c1773f41599b4fabb5fa (diff) | |
download | communique-0f01fc1004122e18f5320f28db63830666a4c8be.tar.gz |
async Servers
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,7 +35,8 @@ func main() { // CGI Servers servers := cgi.NewServers() - servers.Start(cfg) + // TODO Should probably be in a global waitgroup + go servers.Start(cfg) // HTTP Server router := gin.Default() @@ -55,5 +56,6 @@ func main() { c.JSON(http.StatusOK, nil) }) + // TODO Should probably be in a global waitgroup router.Run() } |