Versions in this module Expand all Collapse all v1 v1.4.1 Jan 18, 2017 Changes in this version + var Logger *logs.BeeLogger + func CallRestAPI(url string, jsonReq interface{}) ([]byte, error) + func CheckFileIsExist(filename string) bool + func ExecCmd(scriptFile, cmdString string) ([]byte, error) + func ExecScript(scriptPath string) ([]byte, error) + func GBK2UTF8(strGBK string) (strUTF8 string) + func InitConsoleLog() + func InitFileLog() + func ListDir(dirPth string) (files []string, err error) + func ListFiles(dirPth string, suffix string, onlyReturnFileName bool) (files []string, err error) + func PingLoop(host string, pkgCnt int, timeout int) bool + func ReportProgress(installProgress float64, sn, title, installLog string, host string) bool + func UTF82GBK(strUTF8 string) (strGBK string) + type ISOTime time.Time + func UnixSecToISOTime(unixSecond int64) ISOTime + func (t *ISOTime) UnmarshalJSON(b []byte) error + func (t ISOTime) MarshalJSON() ([]byte, error) + func (t ISOTime) MarshalYAML() (interface{}, error) + func (t ISOTime) String() string