fix: (issues/3), Daemonize the router.

This commit is contained in:
James Wells 2021-02-26 08:14:28 -08:00
parent 9de01210ab
commit a871ad8441
Signed by: jwells
GPG key ID: 73196D10B8E65666
4 changed files with 68 additions and 61 deletions

View file

@ -5,8 +5,8 @@ type GagentConfig struct {
Name string `hcl:"name,optional"`
Mode string `hcl:"mode,attr"`
UUID string `hcl:"uuid,optional"`
ListenAddr string `hc:"listenaddr,optional"`
ListenPort int `hc:"listenport,optional"`
ListenAddr string `hcl:"address,optional"`
ListenPort int `hcl:"port,optional"`
Clients []*ClientDetails `hcl:"client,block"`
Routers []*RouterDetails `hcl:"router,block"`
Workers []*WorkerDetails `hcl:"worker,block"`