grpcutil

package
v0.0.0-...-2e14e4b Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceConnection

func ServiceConnection(ctx context.Context, serviceName string,
	registry discovery.Registry) (*grpc.ClientConn, error)

ServiceConnection attempts to select a random service instance and returns a gRPC connection to it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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