Add active sessions backup functionalitiy

This commit is contained in:
arberkatellari
2024-06-11 17:01:50 +02:00
committed by Dan Christian Bogos
parent 7e3b1b7052
commit f356695f6f
37 changed files with 1748 additions and 28 deletions

View File

@@ -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 {