mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
Implement rpc exporter
This commit is contained in:
committed by
Dan Christian Bogos
parent
f204d474bd
commit
14dfda53be
@@ -535,6 +535,10 @@ func DurationPointer(d time.Duration) *time.Duration {
|
||||
return &d
|
||||
}
|
||||
|
||||
func SliceStringPointer(d []string) *[]string {
|
||||
return &d
|
||||
}
|
||||
|
||||
func ToIJSON(v interface{}) string {
|
||||
b, _ := json.MarshalIndent(v, "", " ")
|
||||
return string(b)
|
||||
|
||||
Reference in New Issue
Block a user