Documentation ¶
Index ¶
- Variables
- func CheckHttpServiceConnected(httpUrl string, timeOutSeconds int) bool
- func CheckInternetConnected() bool
- func DownloadFile(url string, filepath string) error
- func GetQueryRequest(url string, params map[string]string) (int, map[string]interface{}, error)
- func PostBodyRequest(url string, jsonStr string) (int, map[string]interface{}, error)
- func PostFormDataRequest(url string, params map[string]string) (int, map[string]interface{}, error)
- func PostFormDataWithFilesRequest(url string, params map[string]string, postFiles []PostFile) (int, map[string]interface{}, error)
- func PostSoapRequest(url string, payload []byte) (int, []byte, error)
- type PostFile
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestTimeOutSecond = 30
Functions ¶
func CheckInternetConnected ¶
func CheckInternetConnected() bool
func DownloadFile ¶
func GetQueryRequest ¶
func PostBodyRequest ¶
func PostFormDataRequest ¶
func PostFormDataWithFilesRequest ¶ added in v0.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.