commit | 087f3d6e02215349bca2b4883a188d00b3560f8c | [log] [tgz] |
---|---|---|
author | Anthony Romano <anthony.romano@coreos.com> | Fri Apr 07 11:16:52 2017 -0700 |
committer | Menghan Li <menghanl@google.com> | Fri Apr 07 11:16:52 2017 -0700 |
tree | 9c3ade397638b6fd5895d5c3c36869c11f4ef878 | |
parent | 9f9c1906922195abfc35b3791d0aa106af88b6ab [diff] |
transport: implement GoString on Stream (#1167) So context.String() won't race when printing %#v. It is not thread-safe to call context.String() on any context with a stream value since valueCtx will use %#v to access all of the Stream fields without holding a lock. Instead, print the Stream's pointer and method for its GoString.
#gRPC-Go
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