mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add ERs APIs to dispatchers
This commit is contained in:
committed by
Dan Christian Bogos
parent
e0ae593949
commit
e56191e390
@@ -201,6 +201,13 @@ func newDispatcherServiceMap(val *dispatchers.DispatcherService) (engine.IntServ
|
||||
}
|
||||
srvMap[srv.Name] = srv
|
||||
|
||||
srv, err = birpc.NewService(v1.NewDispatcherErSv1(val),
|
||||
utils.ErSv1, true)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
srvMap[srv.Name] = srv
|
||||
|
||||
srv, err = birpc.NewService(v1.NewDispatcherGuardianSv1(val),
|
||||
utils.GuardianSv1, true)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user