tree: 889ed6e7fd7853a50fdbcfb0606dde0a0826a169 [path history] [tgz]
  1. balancer/
  2. codes/
  3. connectivity/
  4. credentials/
  5. grpclb/
  6. grpclog/
  7. internal/
  8. keepalive/
  9. metadata/
  10. naming/
  11. peer/
  12. resolver/
  13. stats/
  14. status/
  15. tap/
  16. transport/
  17. .please-update
  18. .travis.yml
  19. AUTHORS
  20. backoff.go
  21. balancer.go
  22. balancer_conn_wrappers.go
  23. balancer_v1_wrapper.go
  24. call.go
  25. clientconn.go
  26. codec.go
  27. codegen.sh
  28. CONTRIBUTING.md
  29. doc.go
  30. go16.go
  31. go17.go
  32. grpclb.go
  33. interceptor.go
  34. LICENSE
  35. Makefile
  36. proxy.go
  37. README.md
  38. rpc_util.go
  39. server.go
  40. stream.go
  41. trace.go
  42. vet.sh
vendor/google.golang.org/grpc/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: Go guide.

Installation

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 -u google.golang.org/grpc

Prerequisites

This requires Go 1.6 or later.

Constraints

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.

Documentation

See API documentation for package and API descriptions and find examples in the examples directory.

Performance

See the current benchmarks for some of the languages supported in this dashboard.

Status

General Availability Google Cloud Platform Launch Stages.

FAQ

Compiling error, undefined: grpc.SupportPackageIsVersion

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