The Go language implementation of gRPC. HTTP/2 based RPC
Перейти к файлу
Menghan Li 646f701c82
Change version to 1.9.0-dev (#1682)
2017-11-22 10:46:06 -08:00
.github
Documentation Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
balancer switch balancer based on service config info (#1670) 2017-11-17 11:11:05 -08:00
benchmark Add context benchmarks (#1610) 2017-11-07 10:20:24 -08:00
codes update code_string.go for new stringer changes (#1674) 2017-11-14 15:20:10 -08:00
connectivity
credentials server: apply deadline to new connections until all handshaking is completed (#1646) 2017-11-03 13:53:17 -07:00
encoding Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
examples Add protoc command to example/readme (#1653) 2017-11-06 14:58:18 -08:00
grpclb *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
grpclog
health *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
internal Implement transparent retries for gRFC A6 (#1597) 2017-11-06 13:45:11 -08:00
interop *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
keepalive
metadata
naming
peer
reflection *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
resolver
stats *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
status
stress *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
tap
test switch balancer based on service config info (#1670) 2017-11-17 11:11:05 -08:00
testdata
transport Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
.please-update
.travis.yml travis: fix GOARCH=386 and add misspell check (#1658) 2017-11-08 13:40:05 -08:00
AUTHORS
CONTRIBUTING.md
LICENSE
Makefile
README.md
backoff.go
backoff_test.go
balancer.go
balancer_conn_wrappers.go Eliminate race on ac.acbw (#1666) 2017-11-13 13:43:31 -08:00
balancer_switching_test.go switch balancer based on service config info (#1670) 2017-11-17 11:11:05 -08:00
balancer_test.go
balancer_v1_wrapper.go
call.go Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
call_test.go
clientconn.go switch balancer based on service config info (#1670) 2017-11-17 11:11:05 -08:00
clientconn_test.go
codec.go
codec_benchmark_test.go
codec_test.go
codegen.sh
doc.go
go16.go
go17.go
grpclb.go
interceptor.go
picker_wrapper.go
picker_wrapper_test.go
pickfirst.go switch balancer based on service config info (#1670) 2017-11-17 11:11:05 -08:00
pickfirst_test.go
proxy.go
proxy_test.go
resolver_conn_wrapper.go
resolver_conn_wrapper_test.go
rpc_util.go Change version to 1.9.0-dev (#1682) 2017-11-22 10:46:06 -08:00
rpc_util_test.go
server.go Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
server_test.go
service_config.go
service_config_test.go Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00
stream.go set context timeout when Timeout value >= 0 (#1678) 2017-11-20 13:49:49 -08:00
trace.go
vet.sh Add proper support for 'identity' encoding type (#1664) 2017-11-17 09:24:54 -08:00

README.md

gRPC-Go

Build Status GoDoc GoReportCard

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. Go 1.7 will be required as of the next gRPC-Go release (1.8).

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