package internal
import "cloud.google.com/go/internal"
Package internal provides support for the cloud packages.
Users should not import this package directly.
Index ¶
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.
func (*Transport) RoundTrip ¶
RoundTrip appends a user-agent to the existing user-agent header and delegates the request to the base http.RoundTripper.
Source Files ¶
cloud.go
Directories ¶
Path | Synopsis |
---|---|
internal/optional | Package optional provides versions of primitive types that can be nil. |
internal/pretty | Package pretty implements a simple pretty-printer. |
internal/testutil | Package testutil contains helper functions for writing tests. |
- Version
- v0.4.0
- Published
- Nov 1, 2016
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 7 seconds ago –
Tools for package owners.