commit | b6c9c5a70f2466da74774f338f5397e6b9a362eb | [log] [tgz] |
---|---|---|
author | Sameer Ajmani <sameer@golang.org> | Wed Sep 23 17:07:35 2015 -0400 |
committer | Sameer Ajmani <sameer@golang.org> | Wed Sep 23 17:07:35 2015 -0400 |
tree | 233697548a43aeb2fcd8901cff0b0b67c1a5d9b2 | |
parent | 980b4c6d05b1465c5dcf61bce7c999ed5f4b1679 [diff] |
grpc: record the description of the status returned by server RPC handlers in request traces, and mark the trace as an error if the status is not OK. Install the trace into the Context passed to server handlers using trace.NewContext, so that code in the server handlers can annotate the trace using trace.FromContext.
#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 1.4 or above 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.4 or above.
You can find more detailed documentation and examples in the examples directory.
Beta release