modified the comments and format

This commit is contained in:
yangzhouhan
2015-06-02 18:26:11 -07:00
parent 149db4945c
commit b6a930aea4
3 changed files with 8 additions and 5 deletions

View File

@ -21,7 +21,10 @@ var (
server = flag.String("server", "", "The server address")
maxConcurrentRPCs = flag.Int("max_concurrent_rpcs", 1, "The max number of concurrent RPCs")
duration = flag.Int("duration", math.MaxInt32, "The duration in seconds to run the benchmark client")
rpcType = flag.Int("rpc_type", 0, "client rpc type")
rpcType = flag.Int("rpc_type", 0,
`Configure different client rpc type. Valid options are:
0 : unary call;
1 : streaming call.`)
)
func unaryCaller(client testpb.TestServiceClient) {