Use toolbox
This commit is contained in:
parent
6fc2107529
commit
a8e05fdf1b
7 changed files with 33 additions and 30 deletions
|
@ -165,6 +165,10 @@ func GetStatistic() (stats Statistic) {
|
|||
return
|
||||
}
|
||||
|
||||
func Ping() error {
|
||||
return x.Ping()
|
||||
}
|
||||
|
||||
// DumpDatabase dumps all data from database to file system.
|
||||
func DumpDatabase(filePath string) error {
|
||||
return x.DumpAllToFile(filePath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue