Versions in this module Expand all Collapse all v1 v1.0.1 Mar 30, 2021 v1.0.0 Oct 6, 2019 Changes in this version + const ContentTypeApplicationJSON + const ContentTypeFormEncoded + type Request struct + ContentType string + EnableGzip bool + Headers map[string]string + Method string + TimeoutInMs int + URI string + func (r *Request) Do() (*Response, error) + func (r *Request) Get(params map[string]string) (*Response, error) + func (r *Request) Post(payload interface{}) (*Response, error) + type Response struct + Data []byte + func NewResponse(r *http.Response) *Response + func (r *Response) Read(uncompress bool) error