package internal
import "github.com/google/cadvisor/Godeps/_workspace/src/google.golang.org/cloud/internal"
Package internal provides support for the cloud packages.
Users should not import this package directly.
Index ¶
Types ¶
type UATransport ¶
type UATransport struct { // Base represents the actual http.RoundTripper // the requests will be delegated to. Base http.RoundTripper }
UATransport is an http.RoundTripper that appends Google Cloud client's user-agent to the original request's user-agent header.
func (*UATransport) RoundTrip ¶
RoundTrip appends a user-agent to the existing user-agent header and delegates the request to the base http.RoundTripper.
Source Files ¶
- Version
- v0.23.8
- Published
- Aug 2, 2016
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 37 minutes ago –
Tools for package owners.