Documentation
¶
Index ¶
- Variables
- type Auth
- type Datas
- type Files
- type Header
- type Params
- type Request
- func (req *Request) ClearCookies()
- func (req *Request) ClientSetCookies()
- func (req *Request) Get(origurl string, args ...interface{}) (resp *Response, err error)
- func (req *Request) PostForm(origurl string, args ...interface{}) (resp *Response, err error)
- func (req *Request) PostJson(origurl string, obj interface{}) (resp *Response, err error)
- func (req *Request) Proxy(proxyurl string)
- func (req *Request) RequestDebug()
- func (req *Request) SetCookie(cookie *http.Cookie)
- func (req *Request) SetTimeout(n time.Duration)
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var VERSION string = "0.6"
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Header *http.Header Client *http.Client Debug int Cookies []*http.Cookie // contains filtered or unexported fields }
func (*Request) ClearCookies ¶
func (req *Request) ClearCookies()
func (*Request) ClientSetCookies ¶
func (req *Request) ClientSetCookies()
func (*Request) RequestDebug ¶
func (req *Request) RequestDebug()
Click to show internal directories.
Click to hide internal directories.