Implemented Shutdown API and renamed cmd/cgr- test files

This commit is contained in:
nickolasdaniel
2021-06-11 16:34:13 +03:00
committed by Dan Christian Bogos
parent ee556310c8
commit 8748ad29c8
11 changed files with 166 additions and 21 deletions

View File

@@ -616,7 +616,7 @@ func main() {
}
// init CoreSv1
coreS := services.NewCoreService(cfg, caps, server, internalCoreSv1Chan, anz, srvDep)
coreS := services.NewCoreService(cfg, caps, server, internalCoreSv1Chan, anz, srvDep, shdChan)
shdWg.Add(1)
if err := coreS.Start(); err != nil {
fmt.Println(err)