grpc

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientDialOptions

func ClientDialOptions() []grpc.DialOption

func GetGrpcClientConn

func GetGrpcClientConn(addr string, connectionTimeout time.Duration) (*grpc.ClientConn, error)

Types

type GrpcClient added in v0.0.16

type GrpcClient struct {
	// contains filtered or unexported fields
}

func NewGrpcClient added in v0.0.16

func NewGrpcClient(addr string, options ...GrpcClientOption) (*GrpcClient, error)

func (*GrpcClient) Close added in v0.0.16

func (g *GrpcClient) Close() error

Jump to

Keyboard shortcuts

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