Clone this repo:
  1. 84cd50a Fix nil pointer dereferences from status.FromProto(nil) (#1211) by dfawley · 24 minutes ago master
  2. fc5d355 Split grpclb client load report test to deflake test. (#1206) by Menghan Li · 3 hours ago
  3. 4d1604c Use unpadded base64 encoding for binary metadata headers; handle padded or unpadded input (#1209) by dfawley · 3 hours ago
  4. b610ffd Never encode binary metadata within the metadata map (#1188) by dfawley · 4 hours ago
  5. 277e90a Client load report for grpclb. (#1200) by Menghan Li · 28 hours ago

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 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.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.

Status

GA

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