Documentation
¶
Index ¶
- Variables
- func Read_Request(in io.Reader) (*http.Request, error)
- type Client
- func (c Client) Do(req *http.Request) (*http.Response, error)
- func (c Client) Get(addr string) (*http.Response, error)
- func (c Client) WithLevel(level int) Client
- func (c Client) WithRedirect() Client
- func (c Client) WithStatus(status int) Client
- func (c Client) WithTransport(tr *http.Transport) Client
- type Request
- type Transport
Constants ¶
This section is empty.
Variables ¶
View Source
var Default_Client = Client{ Client: http.Client{ CheckRedirect: func(*http.Request, []*http.Request) error { return http.ErrUseLastResponse }, }, Level: 1, Status: http.StatusOK, }
View Source
var NewRequest = http.NewRequest
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.