Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Host: "dns:///localhost:8443",
Timeout: defaultTimeout,
}
Functions ¶
func NewGrpcConnection ¶
func NewGrpcConnection(cfg Config, cred credentials.TransportCredentials) (*grpc.ClientConn, error)
NewGrpcConnection dials a new traced and metered connection for gRPC client with round robin client-side LB.
Types ¶
Click to show internal directories.
Click to hide internal directories.