Documentation ¶
Index ¶
- type Agent
- func (a *Agent) AddCookie(cookie *http.Cookie) *Agent
- func (a *Agent) AddCookies(cookies []*http.Cookie) *Agent
- func (a *Agent) Delete(path string) *Agent
- func (a *Agent) End(cbs ...func(response *resty.Response, bodyString string, err error))
- func (a *Agent) Expect(args ...interface{}) *Agent
- func (a *Agent) Get(path string) *Agent
- func (a *Agent) Head(path string) *Agent
- func (a *Agent) Options(path string) *Agent
- func (a *Agent) Patch(path string) *Agent
- func (a *Agent) Post(path string, body string) *Agent
- func (a *Agent) Put(path string, body string) *Agent
- func (a *Agent) Query(q map[string]string) *Agent
- func (a *Agent) Set(param, value string) *Agent
- func (a *Agent) SetBasicAuth(username, password string) *Agent
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.