open-vault/vendor/google.golang.org/grpc
2016-12-16 13:31:07 -05:00
..
codes Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
credentials gcs physical backend (#2099) 2016-12-01 11:42:31 -08:00
grpclog Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
internal Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
metadata Update deps 2016-12-01 14:46:57 -05:00
naming Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
peer Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
stats Reset vendoring to 0.6.3 2016-12-16 13:31:07 -05:00
tap Bump deps 2016-11-16 18:22:54 -05:00
transport Reset vendoring to 0.6.3 2016-12-16 13:31:07 -05:00
backoff.go Bump deps 2016-11-02 15:34:30 -04:00
balancer.go Bump deps 2016-11-02 15:34:30 -04:00
call.go Update deps 2016-12-01 14:46:57 -05:00
clientconn.go Bump deps 2016-11-16 18:22:54 -05:00
codegen.sh Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
CONTRIBUTING.md Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
coverage.sh Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
doc.go Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
interceptor.go Update deps 2016-09-12 15:16:55 -04:00
LICENSE Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
Makefile Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
PATENTS Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
README.md Bump deps 2016-11-16 18:22:54 -05:00
rpc_util.go Bump deps 2016-11-16 18:22:54 -05:00
server.go Reset vendoring to 0.6.3 2016-12-16 13:31:07 -05:00
stream.go Update deps 2016-12-01 14:46:57 -05:00
trace.go Clustering enhancements (#1747) 2016-08-19 11:03:53 -04: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