Versions in this module Expand all Collapse all v0 v0.4.4 Dec 6, 2022 v0.4.3 Jul 7, 2022 Changes in this version + const DefaultUa + var ContentTypes = map[string]string + func UrlParse(sourceUrl string) (*url.URL, error) + type ReqInfo struct + Body []byte + Headers map[string]string + Url string + Verb string + func (r *ReqInfo) Clone() *ReqInfo + func (r *ReqInfo) Request() (*Response, error) + func (r *ReqInfo) RequestWithOptions(options *ReqOptions) (*Response, error) + func (r *ReqInfo) SetHeader(name, value string) + type ReqOptions struct + AllowRedirect bool + Proxy string + Retry int + Timeout int + VerifySSL bool + type Response struct + Text string + func Get(url string, headers map[string]string, options *ReqOptions) (*Response, error) + func NewResponse(r *http.Response) *Response + func Request(verb string, url string, headers map[string]string, body []byte, ...) (*Response, error)