mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
8 lines
131 B
Go
8 lines
131 B
Go
package db
|
|
|
|
// Storage 备份恢复器
|
|
type Storage interface {
|
|
Backup(name string) (string, error)
|
|
Restore(path string) error
|
|
}
|