client

command
v1.35.3-lb Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package main provides a client used for benchmarking. Before running the client, the user would need to launch the grpc server.

To start the server before running the client, you can run look for the command under the following file:

benchmark/server/main.go

After starting the server, the client can be run. An example of how to run this command is:

go run benchmark/client/main.go -test_name=grpc_test

If the server is running on a different port than 50051, then use the port flag for the client to hit the server on the correct port. An example for how to run this command on a different port can be found here:

go run benchmark/client/main.go -test_name=grpc_test -port=8080

Jump to

Keyboard shortcuts

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