Documentation
¶
Overview ¶
Package internal provides support for the cloud packages.
Users should not import this package directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Service ¶
Service returns the result of the fill function if it's never been called before for the given name (which is assumed to be an API service name, like "datastore"). If it has already been cached, the fill func is not run. It's safe for concurrent use by multiple goroutines.
Types ¶
type Transport ¶
type Transport struct { // Base is the actual http.RoundTripper // requests will use. It must not be nil. Base http.RoundTripper }
Transport is an http.RoundTripper that appends Google Cloud client's user-agent to the original request's user-agent header.
Source Files
¶
- cloud.go
Directories
¶
Path | Synopsis |
---|---|
Package datastore is a generated protocol buffer package.
|
Package datastore is a generated protocol buffer package. |
Package opts holds the DialOpts struct, configurable by cloud.ClientOptions to set up transports for cloud packages.
|
Package opts holds the DialOpts struct, configurable by cloud.ClientOptions to set up transports for cloud packages. |
Package testutil contains helper functions for writing tests.
|
Package testutil contains helper functions for writing tests. |
Click to show internal directories.
Click to hide internal directories.