mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
move resources to dedicated package
This commit is contained in:
committed by
Dan Christian Bogos
parent
40c2c11158
commit
eeecae4576
@@ -40,11 +40,11 @@ type Storage interface {
|
||||
type DataDB interface {
|
||||
Storage
|
||||
HasDataDrv(*context.Context, string, string, string) (bool, error)
|
||||
GetResourceProfileDrv(*context.Context, string, string) (*ResourceProfile, error)
|
||||
SetResourceProfileDrv(*context.Context, *ResourceProfile) error
|
||||
GetResourceProfileDrv(*context.Context, string, string) (*utils.ResourceProfile, error)
|
||||
SetResourceProfileDrv(*context.Context, *utils.ResourceProfile) error
|
||||
RemoveResourceProfileDrv(*context.Context, string, string) error
|
||||
GetResourceDrv(*context.Context, string, string) (*Resource, error)
|
||||
SetResourceDrv(*context.Context, *Resource) error
|
||||
GetResourceDrv(*context.Context, string, string) (*utils.Resource, error)
|
||||
SetResourceDrv(*context.Context, *utils.Resource) error
|
||||
RemoveResourceDrv(*context.Context, string, string) error
|
||||
GetLoadHistory(int, bool, string) ([]*utils.LoadInstance, error)
|
||||
AddLoadHistory(*utils.LoadInstance, int, string) error
|
||||
|
||||
Reference in New Issue
Block a user