consul/vendor/google.golang.org/grpc
James Phillips 42f60b04bb Revert "discover: move instance discover code into separate package (#3144)" (#3180)
This reverts commit 26bfb2d00a.
2017-06-23 01:38:55 -07:00
..
codes Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
credentials Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
grpclog Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
internal Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
metadata Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
naming Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
peer Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
stats Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
tap Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
transport Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
CONTRIBUTING.md Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
LICENSE Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
Makefile Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
PATENTS Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
README.md Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
backoff.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
balancer.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
call.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
clientconn.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
codegen.sh Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
coverage.sh Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
doc.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
interceptor.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
rpc_util.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
server.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
stream.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
trace.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00

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