chore: update backup

This commit is contained in:
henry.chen
2025-07-17 10:52:43 +08:00
parent a0b41d08bd
commit be0280ac56
7 changed files with 189 additions and 153 deletions

View File

@@ -0,0 +1,7 @@
package db
// Storage 备份恢复器
type Storage interface {
Backup(name string) (string, error)
Restore(path string) error
}