README ¶ go-http Package http provides HTTP client Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Response func Get(url string) *Response func Head(url string) *Response func Post(url, contentType string, body io.Reader) *Response func PostForm(url string, data url.Values) *Response func PostJson(url string, data map[string]interface{}) *Response func (r *Response) Err() error func (r *Response) JsonUnmarshal(v interface{}) error func (r *Response) Response() *http.Response func (r *Response) Result() ([]byte, error) func (r *Response) String() string func (r *Response) Val() []byte Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Response ¶ type Response struct { // contains filtered or unexported fields } func Get ¶ func Get(url string) *Response func Head ¶ func Head(url string) *Response func Post ¶ func Post(url, contentType string, body io.Reader) *Response func PostForm ¶ func PostForm(url string, data url.Values) *Response func PostJson ¶ func PostJson(url string, data map[string]interface{}) *Response func (*Response) Err ¶ func (r *Response) Err() error func (*Response) JsonUnmarshal ¶ func (r *Response) JsonUnmarshal(v interface{}) error func (*Response) Response ¶ func (r *Response) Response() *http.Response func (*Response) Result ¶ func (r *Response) Result() ([]byte, error) func (*Response) String ¶ func (r *Response) String() string func (*Response) Val ¶ func (r *Response) Val() []byte Source Files ¶ View all Source files http_get.gohttp_head.gohttp_post.gohttp_post_form.gohttp_post_json.goresponse.go Click to show internal directories. Click to hide internal directories.