Documentation ¶
Index ¶
- type ImpBackupService
- func (inst *ImpBackupService) Export(c context.Context, o *dto.Backup) (*dto.Backup, error)
- func (inst *ImpBackupService) ExportDumpData(c context.Context) error
- func (inst *ImpBackupService) GetLifeRegistration() *application.LifeRegistration
- func (inst *ImpBackupService) Import(c context.Context, o *dto.Backup) (*dto.Backup, error)
- func (inst *ImpBackupService) ImportDumpData(c context.Context, from, to util.Time) error
- func (inst *ImpBackupService) ListAll(c context.Context) ([]*dto.Backup, error)
- type ImpBackupServiceDAO
- type WpmBackupController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpBackupService ¶
type ImpBackupService struct { markup.Component `id:"DatabaseBackupService" class:"life"` AppDataService service.AppDataService `inject:"#AppDataService"` AppRuntimeService service.AppRuntimeService `inject:"#AppRuntimeService"` FilesysService service.FileSystemService `inject:"#FileSystemService"` BackupDao dao.Backup `inject:"#wpm-database-backup-dao"` DoDump bool `inject:"${wpm.options.dump}"` }
ImpBackupService ...
func (*ImpBackupService) ExportDumpData ¶ added in v0.1.1
func (inst *ImpBackupService) ExportDumpData(c context.Context) error
ExportDumpData ...
func (*ImpBackupService) GetLifeRegistration ¶ added in v0.1.1
func (inst *ImpBackupService) GetLifeRegistration() *application.LifeRegistration
GetLifeRegistration ...
func (*ImpBackupService) ImportDumpData ¶ added in v0.1.1
ImportDumpData ...
type ImpBackupServiceDAO ¶
type ImpBackupServiceDAO struct { markup.Component `id:"wpm-database-backup-dao" class:""` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` }
ImpBackupServiceDAO ...
type WpmBackupController ¶ added in v0.1.0
type WpmBackupController struct { markup.Component `id:"" class:"rest-controller"` BackupService service.DatabaseBackupService `inject:"#DatabaseBackupService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
WpmBackupController ...
func (*WpmBackupController) Init ¶ added in v0.1.0
func (inst *WpmBackupController) Init(ec glass.EngineConnection) error
Init 初始化
Click to show internal directories.
Click to hide internal directories.