Back to godoc.org

Command client

v1.31.0
Latest Go to latest
Published: Jul 30, 2020 | License: Apache-2.0 | Module: google.golang.org/grpc

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier