mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
add ConfigHook for external config modification
Add ConfigHook variable allowing external packages to modify config after logger init but before services start.
This commit is contained in:
committed by
Dan Christian Bogos
parent
cafa0a195e
commit
0bf255c8fb
@@ -18,8 +18,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
|
||||
package main
|
||||
|
||||
import "github.com/cgrates/cgrates/services"
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/cgrates/cgrates/services"
|
||||
)
|
||||
|
||||
func main() {
|
||||
services.RunCGREngine()
|
||||
services.RunCGREngine(os.Args[1:])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user