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), which is stripped since gRPC expects host:port.
Types ¶
Click to show internal directories.
Click to hide internal directories.