Documentation ¶
Overview ¶
Package backup provides backup log files to remote server.
Index ¶
- func Connect2bos(remote, accessKey, accessSecret string) (c *bos.Client, err error)
- func GenRsyncCMD(fpath, remote string) (cmd []string)
- func IsFileReadyToUpload(regex, fname string, now time.Time) (ok bool, err error)
- func RunSysCMD(cmd []string) (output string, err error)
- func ScanFiles(dir, regex string) (files []string)
- type BosArgs
- type Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect2bos ¶
func GenRsyncCMD ¶
func IsFileReadyToUpload ¶
IsFileReadyToUpload Check is file ready to upload
Types ¶
Click to show internal directories.
Click to hide internal directories.