Documentation ¶ Index ¶ func OAuth2(domain, clientID, clientSecret string) *http.Client func WrapDebug(c *http.Client) *http.Client func WrapRetry(c *http.Client) *http.Client func WrapUserAgent(c *http.Client) *http.Client type RoundTripFunc func (rf RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func OAuth2 ¶ func OAuth2(domain, clientID, clientSecret string) *http.Client func WrapDebug ¶ func WrapDebug(c *http.Client) *http.Client func WrapRetry ¶ func WrapRetry(c *http.Client) *http.Client func WrapUserAgent ¶ func WrapUserAgent(c *http.Client) *http.Client Types ¶ type RoundTripFunc ¶ type RoundTripFunc func(*http.Request) (*http.Response, error) func (RoundTripFunc) RoundTrip ¶ func (rf RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.