protoc-gen-go-micro/vendor/google.golang.org/grpc
2017-03-31 18:01:58 +02:00
..
benchmark Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
codes Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
credentials Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
Documentation Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
examples Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
grpclb Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
grpclog Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
health Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
internal Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
interop Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
keepalive Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
metadata Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
naming Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
peer Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
reflection Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
stats Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
stress Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
tap Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
test Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
testdata Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
transport Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
.travis.yml Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
backoff_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
backoff.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
balancer_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
balancer.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
call_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
call.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
clientconn_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
clientconn.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
codegen.sh Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
CONTRIBUTING.md Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
coverage.sh Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
doc.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
interceptor.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
LICENSE Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
Makefile Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
PATENTS Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
README.md Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
rpc_util_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
rpc_util.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
server_test.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
server.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
stream.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00
trace.go Moved to google.golang.org/genproto/googleapis/api/annotations 2017-03-31 18:01:58 +02:00

#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.5 or later.

A note on the version used: significant performance improvements in benchmarks of grpc-go have been seen by upgrading the go version from 1.5 to the latest 1.7.1.

From https://golang.org/doc/install, one way to install the latest version of go is:

$ GO_VERSION=1.7.1
$ OS=linux
$ ARCH=amd64
$ curl -O https://storage.googleapis.com/golang/go${GO_VERSION}.${OS}-${ARCH}.tar.gz
$ sudo tar -C /usr/local -xzf go$GO_VERSION.$OS-$ARCH.tar.gz
$ # Put go on the PATH, keep the usual installation dir
$ sudo ln -s /usr/local/go/bin/go /usr/bin/go
$ rm go$GO_VERSION.$OS-$ARCH.tar.gz

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