added config,service for sags

This commit is contained in:
gezimbll
2024-06-11 10:19:49 -04:00
committed by Dan Christian Bogos
parent f707236a37
commit 1c1d211c7c
13 changed files with 323 additions and 16 deletions

View File

@@ -197,6 +197,8 @@ func (srvMngr *ServiceManager) handleReload() {
go srvMngr.reloadService(utils.StatS)
case <-srvMngr.GetConfig().GetReloadChan(config.SARS_JSON):
go srvMngr.reloadService(utils.SarS)
case <-srvMngr.GetConfig().GetReloadChan(config.SAGS_JSON):
go srvMngr.reloadService(utils.SagS)
case <-srvMngr.GetConfig().GetReloadChan(config.RESOURCES_JSON):
go srvMngr.reloadService(utils.ResourceS)
case <-srvMngr.GetConfig().GetReloadChan(config.RouteSJson):