Documentation ¶
Index ¶
- Variables
- func Batch()
- func CopyFile(srcName string, destName string)
- func DeleteFile(fileName string)
- func GetCurrentPath() (string, error)
- func GetFilePath(filePath string) string
- func GetOption(name string, category string) (string, error)
- func GetWatcherPaths(watchPath []string) []string
- func MoveFile(srcName string, destName string)
- func NewMonitor() (monitor, error)
- func RmWatcher(watchPath string)
- func SyncFile(WatchPaths []string)
- func UploadFile(filePath string, uploadFileName string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AccessKey, _ = GetOption("AccessKey", "qiniu")
SecretKey, _ = GetOption("SecretKey", "qiniu")
Bucket, _ = GetOption("Bucket", "qiniu")
StorageZone, _ = GetOption("StorageZone", "qiniu")
UseHTTPS, _ = GetOption("UseHTTPS", "qiniu")
UseCdnDomains, _ = GetOption("UseHTTPS", "qiniu")
ForceOverwrite, _ = GetOption("ForceOverwrite", "qiniu")
)
Functions ¶
func DeleteFile ¶
func DeleteFile(fileName string)
func GetWatcherPaths ¶
func NewMonitor ¶
func NewMonitor() (monitor, error)
func UploadFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.