Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Req ¶
type Req interface { Client() *http.Client RawRequest() *http.Request Response() chan Response Request() Req }
func Request ¶
func Request(opts ...RequestOpt) (Req, error)
func RequestOrPanic ¶
func RequestOrPanic(opts ...RequestOpt) Req
type RequestOpt ¶
func GET ¶
func GET(url string) RequestOpt
func Header ¶
func Header(key, value string) RequestOpt
func Oauth ¶
func Oauth(token, secret string) RequestOpt
func Timeout ¶
func Timeout(seconds int) RequestOpt
type SimpleReq ¶
func (SimpleReq) RawRequest ¶
Click to show internal directories.
Click to hide internal directories.