grpc

package
v0.0.0-...-bb7e8d2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

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

func NewGRPCClientFor

func NewGRPCClientFor(cfg *config.Config) *GRPCClient

func (*GRPCClient) Dial

func (g *GRPCClient) Dial(ctx context.Context, service string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

type Interface

type Interface interface {
	Dial(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error)
}

Jump to

Keyboard shortcuts

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