mirror of https://github.com/grpc/grpc-go.git
Because most of the fields on `BackoffConfig` are unexported, correctly using the config requires copying from the default. This sets the defaults appropriately and falls back to a default if MaxDelay is negative or zero. Tests are added to ensure that the backoff is set correctly in common use cases. Signedroff-by: Stephen J Day <stephen.day@docker.com> Signed-off-by: Stephen J Day <stephen.day@docker.com> |
||
---|---|---|
Documentation | ||
benchmark | ||
codes | ||
credentials | ||
examples | ||
grpclog | ||
health | ||
internal | ||
interop | ||
metadata | ||
naming | ||
peer | ||
test | ||
testdata | ||
transport | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
PATENTS | ||
README.md | ||
backoff.go | ||
backoff_test.go | ||
call.go | ||
call_test.go | ||
clientconn.go | ||
clientconn_test.go | ||
codegen.sh | ||
coverage.sh | ||
doc.go | ||
picker.go | ||
picker_test.go | ||
rpc_util.go | ||
rpc_util_test.go | ||
server.go | ||
stream.go | ||
trace.go |
README.md
#gRPC-Go
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 .
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
Beta release