Documentation ¶ Index ¶ type Response func Get(url string, params map[string]interface{}) (httpResponse Response, err error) func PostForm(targetUrl string, params map[string]interface{}) (httpResponse Response, err error) func PostJson(targetUrl string, paramsStr []byte) (httpResponse Response, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Response ¶ type Response struct { Status string StatusCode int Header http.Header Body []byte ContentLength int64 } func Get ¶ func Get(url string, params map[string]interface{}) (httpResponse Response, err error) func PostForm ¶ func PostForm(targetUrl string, params map[string]interface{}) (httpResponse Response, err error) func PostJson ¶ func PostJson(targetUrl string, paramsStr []byte) (httpResponse Response, err error) Source Files ¶ View all Source files gohttp.go Click to show internal directories. Click to hide internal directories.