Documentation ¶
Index ¶
- Constants
- func ArchiveBundle(s3Archive string, fpath string, failed bool, clean bool)
- func CheckPort(addr string) bool
- func CopyFile(src, dst string) (err error)
- func CreateDir(dirpath string) error
- func DeleteDir(dirpath string) error
- func DeleteFile(fpath string) error
- func DeleteFileIfExists(fpath string) error
- func FileExists(filename string) bool
- func GetIDN() string
- func Hash64Byte(b []byte) uint64
- func Hash64String(str string) uint64
- func IsTmpFS(mpath string) bool
- func ProcessIsAlive(pid int) bool
- func ReadPidFile(pidFile string) (int, error)
- func ReuseDir(dirpath string) error
- func SlackDirectNotify(host string, service string, account string, msgtype string, msg string) error
- func SlackNotify(notifyUrl string, account string, msgtype string, msg string) error
Constants ¶
View Source
const ( DefaultSlackURL = "http://localhost:5800/api/v1/notify" DefaultDownloaderURL = "http://localhost:5800/api/v1/upload" )
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
func DeleteFileIfExists ¶
func FileExists ¶
func Hash64Byte ¶
func Hash64String ¶
func ProcessIsAlive ¶
func ReadPidFile ¶
func SlackDirectNotify ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.