Merge pull request #223 from jupp0r/feature/improve-grpc-client-documentation
Clarify grpcReply argument in grpc client factory
Peter Bourgon
8 years ago
23 | 23 |
}
|
24 | 24 |
|
25 | 25 |
// NewClient constructs a usable Client for a single remote endpoint.
|
|
26 |
// Pass an zero-value Protobuf message of the RPC response type as
|
|
27 |
// the grpcReply argument.
|
26 | 28 |
func NewClient(
|
27 | 29 |
cc *grpc.ClientConn,
|
28 | 30 |
serviceName string,
|