Documentation
¶
Overview ¶
Package grpc provides gRPC connection setup utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection(address string, tlsCfg *TLSParams, auth credentials.PerRPCCredentials) (*grpc.ClientConn, error)
NewConnection creates a gRPC client connection. The address may include an http:// or https:// scheme (as written by the upstream gateway). The scheme drives transport selection: http:// uses plaintext, https:// or no scheme uses TLS.
Types ¶
Click to show internal directories.
Click to hide internal directories.