Use toolbox

This commit is contained in:
Unknwon 2014-08-06 17:21:24 -04:00
parent 6fc2107529
commit a8e05fdf1b
7 changed files with 33 additions and 30 deletions

View file

@ -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)