Documentation ¶
Index ¶
- func NewURLWithBasicAuth(rawURL, basicAuth string) (*url.URL, error)
- type Client
- func (c *Client) GET(path string, opts ...func(*http.Request)) *Response
- func (c *Client) HEAD(path string, opts ...func(*http.Request)) *Response
- func (c *Client) MakeResponse(resp *http.Response) *Response
- func (c *Client) Request(method, path string, opts ...func(*http.Request)) *Response
- func (c *Client) Trace(enabled bool)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) MakeResponse ¶ added in v1.4.0
type Response ¶
func (*Response) ExpectBodyContent ¶
func (*Response) ExpectBodySize ¶
func (*Response) ExpectHeader ¶
func (*Response) ExpectStatus ¶
Click to show internal directories.
Click to hide internal directories.