Documentation ¶
Index ¶
- func CopyFiles(src, dest string) (err error)
- func DownloadFile(filename, url, method, body string) (statusCode uint16, err error)
- func ExecCommand(command string, arg ...string) (result []byte, err error)
- func ExecCommandString(command string) (result string, err error)
- func ExtractGzip(gzipFile, destDir string) (err error)
- func ReadJsonFile(filename string, content interface{}) (ok bool)
- func ReadTextFile(filename string) (content string, ok bool)
- func RequestJson(url, method string, params []interface{}, reply interface{}) (statusCode uint16, err error)
- func RequestText(url, method, body string) (result string, statusCode uint16, err error)
- func Unzip(zipFile, destDir string) (err error)
- func WriteJsonFile(filename string, v interface{}) (err error)
- func WriteTextFile(filename string, content string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func ExecCommandString ¶
func ExtractGzip ¶
func ReadJsonFile ¶
func ReadTextFile ¶
func RequestJson ¶
func RequestText ¶
func WriteJsonFile ¶
func WriteTextFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.