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