Documentation ¶
Index ¶
- Constants
- func CheckHttpServiceConnected(httpUrl string) bool
- func CheckInternetConnected() bool
- func DownloadFile(url string, filepath string) error
- func FileUploadRequest(url string, params map[string]string, paramName, path string) (map[string]interface{}, error)
- func GetQueryRequest(url string, params map[string]string) (map[string]interface{}, error)
- func PostBodyRequest(url string, jsonStr string) (map[string]interface{}, error)
- func PostFormDataRequest(url string, params map[string]string) (map[string]interface{}, error)
- func SoapRequest(url string, payload []byte) ([]byte, error)
Constants ¶
View Source
const RequestTimeOutSecond = 30
Variables ¶
This section is empty.
Functions ¶
func CheckInternetConnected ¶
func CheckInternetConnected() bool
func DownloadFile ¶
func FileUploadRequest ¶
func GetQueryRequest ¶
func PostBodyRequest ¶
func PostFormDataRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.