Versions in this module Expand all Collapse all v0 v0.2.0 Sep 25, 2020 Changes in this version + func SetHttpClient(client *http.Client) + func SetUserAgent(ua string) + type Request struct + func Delete(url string) *Request + func Get(url string) *Request + func Method(method string) *Request + func New() *Request + func Post(url string) *Request + func Put(url string) *Request + func Url(url string) *Request + func (a *Request) Body(body interface{}) *Request + func (a *Request) Delete(url string) *Request + func (a *Request) Do() (*Response, error) + func (a *Request) Get(url string) *Request + func (a *Request) Header(h http.Header) *Request + func (a *Request) Method(method string) *Request + func (a *Request) Post(url string) *Request + func (a *Request) Put(url string) *Request + func (a *Request) RawBody(body string) *Request + func (a *Request) Result(result interface{}) *Request + func (a *Request) SetHeader(key, val string) *Request + func (a *Request) Url(url string) *Request + type Response struct + Content []byte + Request *http.Request + Response *http.Response + StatusCode int + func (a *Response) OK() bool + func (a *Response) String() string + func (a *Response) Text() string