Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialGRPC ¶
func DialGRPC(ctx context.Context, opt ...cloud.ClientOption) (*grpc.ClientConn, error)
DialGRPC returns a GRPC connection for use communicating with a Google cloud service, configured with the given ClientOptions.
func NewHTTPClient ¶
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.
Types ¶
type ProtoClient ¶
type ProtoClient struct {
// contains filtered or unexported fields
}
func NewProtoClient ¶
func NewProtoClient(ctx context.Context, opt ...cloud.ClientOption) (*ProtoClient, error)
NewProtoClient returns a ProtoClient for communicating with a Google cloud service, configured with the given ClientOptions.
Click to show internal directories.
Click to hide internal directories.