mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-14 02:12:26 +08:00
chore: update backup
This commit is contained in:
7
cmd/backup/handler/timer/db/db.go
Normal file
7
cmd/backup/handler/timer/db/db.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package db
|
||||
|
||||
// Storage 备份恢复器
|
||||
type Storage interface {
|
||||
Backup(name string) (string, error)
|
||||
Restore(path string) error
|
||||
}
|
||||
Reference in New Issue
Block a user