grpcconn

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL