mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Add active sessions backup functionalitiy
This commit is contained in:
committed by
Dan Christian Bogos
parent
7e3b1b7052
commit
f356695f6f
@@ -128,6 +128,9 @@ type DataDB interface {
|
||||
GetDispatcherHostDrv(string, string) (*DispatcherHost, error)
|
||||
SetDispatcherHostDrv(*DispatcherHost) error
|
||||
RemoveDispatcherHostDrv(string, string) error
|
||||
SetBackupSessionsDrv(sessions []*StoredSession, nodeID string, tenant string) error
|
||||
GetSessionsBackupDrv(nodeID string, tenant string) ([]*StoredSession, error)
|
||||
RemoveSessionsBackupDrv(nodeID, tenant, cgrid string) error
|
||||
}
|
||||
|
||||
type StorDB interface {
|
||||
|
||||
Reference in New Issue
Block a user