jason 075d766964 first | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
.github | %!s(int64=3) %!d(string=hai) anos | |
Documentation | %!s(int64=3) %!d(string=hai) anos | |
balancer | %!s(int64=3) %!d(string=hai) anos | |
benchmark | %!s(int64=3) %!d(string=hai) anos | |
binarylog | %!s(int64=3) %!d(string=hai) anos | |
channelz | %!s(int64=3) %!d(string=hai) anos | |
codes | %!s(int64=3) %!d(string=hai) anos | |
connectivity | %!s(int64=3) %!d(string=hai) anos | |
credentials | %!s(int64=3) %!d(string=hai) anos | |
encoding | %!s(int64=3) %!d(string=hai) anos | |
examples | %!s(int64=3) %!d(string=hai) anos | |
grpclog | %!s(int64=3) %!d(string=hai) anos | |
health | %!s(int64=3) %!d(string=hai) anos | |
internal | %!s(int64=3) %!d(string=hai) anos | |
interop | %!s(int64=3) %!d(string=hai) anos | |
keepalive | %!s(int64=3) %!d(string=hai) anos | |
metadata | %!s(int64=3) %!d(string=hai) anos | |
naming | %!s(int64=3) %!d(string=hai) anos | |
peer | %!s(int64=3) %!d(string=hai) anos | |
reflection | %!s(int64=3) %!d(string=hai) anos | |
resolver | %!s(int64=3) %!d(string=hai) anos | |
stats | %!s(int64=3) %!d(string=hai) anos | |
status | %!s(int64=3) %!d(string=hai) anos | |
stress | %!s(int64=3) %!d(string=hai) anos | |
tap | %!s(int64=3) %!d(string=hai) anos | |
test | %!s(int64=3) %!d(string=hai) anos | |
testdata | %!s(int64=3) %!d(string=hai) anos | |
.travis.yml | %!s(int64=3) %!d(string=hai) anos | |
AUTHORS | %!s(int64=3) %!d(string=hai) anos | |
CONTRIBUTING.md | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
Makefile | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
backoff.go | %!s(int64=3) %!d(string=hai) anos | |
balancer.go | %!s(int64=3) %!d(string=hai) anos | |
balancer_conn_wrappers.go | %!s(int64=3) %!d(string=hai) anos | |
balancer_switching_test.go | %!s(int64=3) %!d(string=hai) anos | |
balancer_test.go | %!s(int64=3) %!d(string=hai) anos | |
balancer_v1_wrapper.go | %!s(int64=3) %!d(string=hai) anos | |
call.go | %!s(int64=3) %!d(string=hai) anos | |
call_test.go | %!s(int64=3) %!d(string=hai) anos | |
clientconn.go | %!s(int64=3) %!d(string=hai) anos | |
clientconn_state_transition_test.go | %!s(int64=3) %!d(string=hai) anos | |
clientconn_test.go | %!s(int64=3) %!d(string=hai) anos | |
codec.go | %!s(int64=3) %!d(string=hai) anos | |
codec_test.go | %!s(int64=3) %!d(string=hai) anos | |
codegen.sh | %!s(int64=3) %!d(string=hai) anos | |
dialoptions.go | %!s(int64=3) %!d(string=hai) anos | |
doc.go | %!s(int64=3) %!d(string=hai) anos | |
go.mod | %!s(int64=3) %!d(string=hai) anos | |
go.sum | %!s(int64=3) %!d(string=hai) anos | |
grpc_test.go | %!s(int64=3) %!d(string=hai) anos | |
install_gae.sh | %!s(int64=3) %!d(string=hai) anos | |
interceptor.go | %!s(int64=3) %!d(string=hai) anos | |
picker_wrapper.go | %!s(int64=3) %!d(string=hai) anos | |
picker_wrapper_test.go | %!s(int64=3) %!d(string=hai) anos | |
pickfirst.go | %!s(int64=3) %!d(string=hai) anos | |
pickfirst_test.go | %!s(int64=3) %!d(string=hai) anos | |
proxy.go | %!s(int64=3) %!d(string=hai) anos | |
proxy_test.go | %!s(int64=3) %!d(string=hai) anos | |
resolver_conn_wrapper.go | %!s(int64=3) %!d(string=hai) anos | |
resolver_conn_wrapper_test.go | %!s(int64=3) %!d(string=hai) anos | |
rpc_util.go | %!s(int64=3) %!d(string=hai) anos | |
rpc_util_test.go | %!s(int64=3) %!d(string=hai) anos | |
server.go | %!s(int64=3) %!d(string=hai) anos | |
server_test.go | %!s(int64=3) %!d(string=hai) anos | |
service_config.go | %!s(int64=3) %!d(string=hai) anos | |
service_config_test.go | %!s(int64=3) %!d(string=hai) anos | |
stream.go | %!s(int64=3) %!d(string=hai) anos | |
trace.go | %!s(int64=3) %!d(string=hai) anos | |
version.go | %!s(int64=3) %!d(string=hai) anos | |
vet.sh | %!s(int64=3) %!d(string=hai) anos |
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.
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
gRPC-Go requires Go 1.9 or later.
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.
See API documentation for package and API descriptions and find examples in the examples directory.
See the current benchmarks for some of the languages supported in this dashboard.
General Availability Google Cloud Platform Launch Stages.
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
The default logger is controlled by the environment variables. Turn everything on by setting:
GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info
"code = Unavailable desc = transport is closing"
This error means the connection the RPC is using was closed, and there are many possible reasons, including:
It can be tricky to debug this because the error happens on the client side but the root cause of the connection being closed is on the server side. Turn on logging on both client and server, and see if there are any transport errors.