Documentation
¶
Index ¶
Constants ¶
View Source
const ( BodyTypeFile = "file" // Body must be an `io.Reader`. Used for streaming. BodyTypeForm = "form" BodyTypeJSON = "json" BodyTypeXML = "xml" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.61.0
type Client struct { BaseURL string // TODO: See if we can do this within Transport: https://gist.github.com/epelc/cc286ad0fd7878fb176a89f2af1177b6 Query url.Values // Add If Not Exists HTTPClient *http.Client }
Client provides a simple interface to making HTTP requests using `net/http`.
func (*Client) DoUnmarshalJSON ¶ added in v0.61.0
Click to show internal directories.
Click to hide internal directories.