commit | 66a9140c206dd108374c293d687cd1bbf27f0e8b | [log] [tgz] |
---|---|---|
author | Matt T. Proud <matt.proud@gmail.com> | Fri May 05 22:31:10 2017 +0200 |
committer | Menghan Li <menghanl@google.com> | Fri May 05 13:31:10 2017 -0700 |
tree | 3e1f6fda1058b7ccf1666cea922c9d11adcea854 | |
parent | f3b5bf53ce10aed1cf288098af846095bf5f5233 [diff] |
make ServerOption panic messages more clear. (#1194) ServerOption panics when fields that have been manually set are subsequently set again. The message verbiage of `X has been set` is unclear since `has been set` without an adverb like `already` does not correctly convey that the fields are set-once and were previously set. At the worst, the original verbiage `X has been set` could imply that the new value would have been acceptable but another error occurred. We discovered this while conducting a code survey for implementing extensible stubs and uniform inbound interception API.
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start guide.
To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get google.golang.org/grpc
This requires Go 1.6 or later.
The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.
See API documentation for package and API descriptions and find examples in the examples directory.
GA
Please update proto package, gRPC package and rebuild the proto files:
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u google.golang.org/grpc
protoc --go_out=plugins=grpc:. *.proto