grpc_client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAddress

func FromAddress(addr string) clientConnBuilder

FromAddress builder for 'grpc' client conn

func GRPCClientMetrics

func GRPCClientMetrics() *grpc_prometheus.ClientMetrics

Types

type Backoff

type Backoff = backoff.Backoff

Backoff is an alias to backoff.Backoff

type ConnProvider

type ConnProvider interface {
	New(ctx context.Context) (*grpc.ClientConn, error)
}

ConnProvider grpc client conn provider

type TransportCredentials

type TransportCredentials = credentials.TransportCredentials

TransportCredentials is an alias to credentials.TransportCredentials

Jump to

Keyboard shortcuts

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