client

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL