Documentation ¶
Overview ¶
Package grpcconn provides utilities for handling gRPC client connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, conf config.GRPCServer) (*grpc.ClientConn, error)
Dial creates a client connection to the configured target, also respecting the given TLS configuration.
The connection is set up enabling client-side round-robin DNS load balancing.
This function blocks until the underlying connection is up, within a timeout of 5 seconds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.