Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupService ¶
type BackupService struct {
// contains filtered or unexported fields
}
func NewBackupService ¶
func NewBackupService(db *mongo.Database) *BackupService
func (*BackupService) DeleteAndInsertCollectionDoc ¶
func (*BackupService) GetBackups ¶
func (s *BackupService) GetBackups(ctx context.Context) (zipFileName string, err error)
func (*BackupService) Recovery ¶
func (s *BackupService) Recovery(ctx context.Context, file *multipart.FileHeader) error
Click to show internal directories.
Click to hide internal directories.