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.
2 files changed
tree: 233697548a43aeb2fcd8901cff0b0b67c1a5d9b2
  1. benchmark/
  2. codes/
  3. credentials/
  4. Documentation/
  5. examples/
  6. grpclog/
  7. health/
  8. interop/
  9. metadata/
  10. naming/
  11. test/
  12. transport/
  13. .travis.yml
  14. call.go
  15. clientconn.go
  16. codegen.sh
  17. CONTRIBUTING.md
  18. doc.go
  19. LICENSE
  20. Makefile
  21. PATENTS
  22. README.md
  23. rpc_util.go
  24. rpc_util_test.go
  25. server.go
  26. stream.go
  27. trace.go
README.md

#gRPC-Go

Build Status GoDoc

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.

Installation

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

Prerequisites

This requires Go 1.4 or above.

Documentation

You can find more detailed documentation and examples in the examples directory.

Status

Beta release