client

package
v0.0.0-...-8438e09 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Greeter

type Greeter interface {
	Connect(ctx context.Context, serverAddr string, extraOpts ...grpc.DialOption) error
	Client() pb.GreeterClient
	Disconnect() error
}

Greeter wraps a pb.GreeterClient by offering the Connect and Disconnect methods.

func NewGreeter

func NewGreeter(loadBalance bool) Greeter

NewGreeter constructs a Greeter.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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