Documentation ¶
Index ¶
- Constants
- func PrepareRequest(method string, url string, params types.Dict, headers types.Dict, ...) (error, *prepareRequest)
- func Session(timeout int, proxy string, redirect bool, verify bool) *session
- type Request
- type Response
- func Delete(url string, ext ...types.Ext) *Response
- func Get(url string, ext ...types.Ext) *Response
- func Head(url string, ext ...types.Ext) *Response
- func Options(url string, ext ...types.Ext) *Response
- func Post(url string, ext ...types.Ext) *Response
- func Put(url string, ext ...types.Ext) *Response
Constants ¶
View Source
const DefaultTimeout = 5 // time.Second
View Source
const Version = "v1.0.0"
Variables ¶
This section is empty.
Functions ¶
func PrepareRequest ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.