Documentation ¶
Index ¶
- type Request
- func (r *Request) AddHeader(header map[string]string) *Request
- func (r *Request) AddParams(params map[string]string) *Request
- func (r *Request) Delete(uri string) *Request
- func (r *Request) End(callback ...func(response gorequest.Response, body []byte, errs []error)) (*http.Response, string, []error)
- func (r *Request) EndBytes(callback ...func(response gorequest.Response, body []byte, errs []error)) (gorequest.Response, []byte, []error)
- func (r *Request) Get(uri string) *Request
- func (r *Request) Post(uri string, body interface{}) *Request
- func (r *Request) Put(uri string, body interface{}) *Request
- func (r *Request) Retry(retryerCount int, retryerTime time.Duration, statusCode ...int) *Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.