mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
Move cdrs to its own package
Moved engine/cdr.go to utils/cdr.go. Moved engine/cdrs.go and engine/cdrs_test.go to cdrs package. Moved api functions from cdrs/cdrs.go to cdrs/apis.go. Same for the tests. Deleted CDRsV1 type and its methods.
This commit is contained in:
committed by
Dan Christian Bogos
parent
1cec3751e4
commit
d29f84169c
@@ -109,7 +109,7 @@ type DataDBDriver interface {
|
||||
type StorDB interface {
|
||||
Storage
|
||||
SetCDR(*context.Context, string, *utils.CGREvent, bool) error
|
||||
GetCDRs(*context.Context, []*Filter, map[string]interface{}) ([]*CDR, error)
|
||||
GetCDRs(*context.Context, []*Filter, map[string]interface{}) ([]*utils.CDR, error)
|
||||
RemoveCDRs(*context.Context, []*Filter) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user