Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GCPAPICallCount int
View Source
var GCPMutex sync.Mutex
Functions ¶
func NewCountingClient ¶
NewCountingClient returns an *http.Client that counts each request.
func NewOauth2Transport ¶
func NewOauth2Transport(base http.RoundTripper, token oauth2.TokenSource) *oauth2Transport
NewOauth2Transport creates a new oauth2Transport with the given base transport and token source.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.