Documentation
¶
Index ¶
- Constants
- func AlgorithmRandomCharacter(n int) string
- func AlgorithmRandomNum(n int) int64
- func AuthClone(GitTmpDir, GitDir, AppName, Url, gitUser, GitPasswd string) error
- func Base64Decode(decodeStr []byte) string
- func Base64Encode(encodeStr string) string
- func CheckIp(ip string) bool
- func CheckPort(ip net.IP, port int) error
- func ChkHTTPSCert(domainName string, DetailedOutput bool) int64
- func Clone(GitTmpDir, GitDir, AppName, Url string) error
- func CuttingFtpFileAddress(FtpFileUrl string, DetailedOutput bool) (string, string, string)
- func DayEmail(mailMess string)
- func Decompression(srcFile, dsrDir string) error
- func DlFile(SavePath, Url string, TimeOutNum time.Duration) bool
- func DlFileUseWget(FileUrl, SavePath string) error
- func DlFtpFile(FtpPort, FtpFileUrl, SavePath string, DetailedOutput bool) error
- func FindDirAllFile(dirPath, suffix string) (files []string, err error)
- func FindDirAllFileNoSuffix(dirPath string) (files []string, err error)
- func ForFileLines(FileName string, DetailedOutput bool) ([]string, error)
- func ForFileLinesExecFunc(FileName string, FuncName func(string2 string)) error
- func FormShow()
- func GenerateQrCode(URL, QrCodePath string, DetailedOutput bool)
- func GenerateTpl(WFilePath, TplPath string, TplStruct interface{}, DetailedOutput bool) (error, string)
- func GetDomainIP(DNSServer, Domain string) string
- func GetIpv4IpICMP(Ipv4Addr string)
- func IsDir(path string) bool
- func ListFileDir(dirPath, suffix string) (files []string, err error)
- func LocalCMD(cmdStr string, Args []string) (err error, ProcessState *os.ProcessState, OutInfo string)
- func MakeChannel(numSum int, Func func())
- func ProgressBar(FuncName string, Count int64, Func func())
- func RM(path string, onlyFileEmpty bool) error
- func RMUtils(path string, onlyEmpty bool) error
- func ReadFile2StrMain(FileName string, DetailedOutput bool) (string, error)
- func RemoteCmd(IP, Port, User, CMD, idRsaPath string) (string, error)
- func SftpDownload(isPasswd bool, ...) error
- func SftpUpload(isPasswd bool, ...) error
- func Tar(src []string, dst string) error
- func WfMain(FileName, contentString string, IsCover, DetailedOutput bool) bool
Constants ¶
View Source
const MailMess = `` /* 477-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AlgorithmRandomCharacter ¶
随机一个10位数字符串,包括数字和字符 Random a 10 digit string, including numbers and characters
func AlgorithmRandomNum ¶
随机数字 Generating random numbers Within parameter range
func Base64Decode ¶
func Base64Encode ¶
func CuttingFtpFileAddress ¶
func Decompression ¶
func DlFileUseWget ¶
func FindDirAllFile ¶
func FindDirAllFileNoSuffix ¶
func ForFileLines ¶
按行读取文件, 传入文件路径
func ForFileLinesExecFunc ¶
按行读取文件并执行函数,传入文件路径、执行函数名称
func GenerateQrCode ¶
func GenerateTpl ¶
func GetDomainIP ¶
func GetIpv4IpICMP ¶
func GetIpv4IpICMP(Ipv4Addr string)
func ListFileDir ¶
func MakeChannel ¶
func MakeChannel(numSum int, Func func())
func ProgressBar ¶
func SftpDownload ¶
func SftpUpload ¶
Types ¶
This section is empty.
Source Files
¶
- DlFtpFile.go
- WgetDownLoadFile.go
- checkIpv4IP.go
- chk-https-cert.go
- cryptography.go
- dl-file.go
- executeCMD.go
- fileOperateMain.go
- for-file-lines.go
- generateQrCode.go
- generateTpl.go
- getDomainIP.go
- getIpv4IPICMP.go
- git-clone.go
- go-tar.go
- makeChannel.go
- progressBar.go
- randomCharacter.go
- remoteSsh.go
- rmrf.go
- sendEmail.go
- sftp_upload_download.go
- tcpScanPort.go
Click to show internal directories.
Click to hide internal directories.