backuputils

package
v0.1.72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionDeleteFile

func ActionDeleteFile(filename string, onError func(err error)) (goNext bool)

删除文件

func ActionDownloadFile

func ActionDownloadFile(filename string, responseWriter http.ResponseWriter, onNotFound func())

下载文件

func ActionListFiles

func ActionListFiles() []maps.Map

列出所有文件

func ActionRestoreFile

func ActionRestoreFile(filename string, onFail func(message string)) (goNext bool)

还原

func ShouldRestart

func ShouldRestart() bool

判断是否需要重启

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL