package transport
Import Path
google.golang.org/api/transport (on go.dev)
Dependency Relation
imports 8 packages, and imported by one package
Involved Source Files
dial.go
Package transport provides utility methods for creating authenticated
transports to Google's HTTP and gRPC APIs. It is intended to be used in
conjunction with google.golang.org/api/option.
This package is not intended for use by end developers. Use the
google.golang.org/api/option package to configure API clients.
go19.go
Package-Level Functions (total 4, all are exported)
Creds constructs a google.Credentials from the information in the options,
or obtains the default credentials in the same way as google.FindDefaultCredentials.
DialGRPC returns a GRPC connection for use communicating with a Google cloud
service, configured with the given ClientOptions.
DialGRPCInsecure returns an insecure GRPC connection for use communicating
with fake or mock Google cloud service implementations, such as emulators.
The connection is configured with the given ClientOptions.
NewHTTPClient returns an HTTP client for use communicating with a Google cloud
service, configured with the given ClientOptions. It also returns the endpoint
for the service as specified in the options.
![]() |
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. |