Documentation
¶
Index ¶
- func ExtractRespBody(resp *http.Response) string
- func HTTPGet(URL string, queryString map[string]interface{}, headers map[string]string) *http.Response
- func HTTPPost(URL string, payload map[string]interface{}, headers map[string]string) *http.Response
- func TransformStrToMap(jsonstr string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRespBody ¶
ExtractRespBody : Extract response body and transform to map resp - http response
func HTTPGet ¶
func HTTPGet(URL string, queryString map[string]interface{}, headers map[string]string) *http.Response
HTTPGet : http GET Request URL - http URL queryString - query string params headers - request headers
func TransformStrToMap ¶
TransformStrToMap : To string to json map jsonstr - json String
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.