...
Package transport
Overview ▹
Index ▹
func DialGRPC ¶
func DialGRPC(ctx context.Context, opts ...option.ClientOption) (*grpc.ClientConn, error)
DialGRPC returns a GRPC connection for use communicating with a Google cloud service, configured with the given ClientOptions.
func DialGRPCInsecure ¶
func DialGRPCInsecure(ctx context.Context, opts ...option.ClientOption) (*grpc.ClientConn, error)
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.
func NewHTTPClient ¶
func NewHTTPClient(ctx context.Context, opts ...option.ClientOption) (*http.Client, string, error)
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.
Subdirectories
| Name | Synopsis |
|---|---|
| .. | |
| bytestream | Package bytestream provides a client for any service that exposes a ByteStream API. |
ActiveGo 1.8