package transport
Import Path
google.golang.org/api/googleapi/transport (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package transport contains HTTP transports used to make
authenticated API requests.
This package is DEPRECATED. Users should instead use,
service, err := NewService(..., option.WithAPIKey(...))
Package-Level Type Names (only one, which is exported)
APIKey is an HTTP Transport which wraps an underlying transport and
appends an API Key "key" parameter to the URL of outgoing requests.
Deprecated: please use NewService(..., option.WithAPIKey(...)) instead.
Key is the API Key to set on requests.
Transport is the underlying HTTP transport.
If nil, http.DefaultTransport is used.
(*T) RoundTrip(req *http.Request) (*http.Response, error)
*T : net/http.RoundTripper
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |