Documentation ¶
Index ¶
- func SetHttpClient(client *http.Client)
- func SetUserAgent(ua string)
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.