blog_backend_api/vendor/google.golang.org/grpc
18650180552 2a1c947808 添加vendor 2019-01-28 11:19:49 +08:00
..
balancer 添加vendor 2019-01-28 11:19:49 +08:00
codes 添加vendor 2019-01-28 11:19:49 +08:00
connectivity 添加vendor 2019-01-28 11:19:49 +08:00
credentials 添加vendor 2019-01-28 11:19:49 +08:00
encoding 添加vendor 2019-01-28 11:19:49 +08:00
grpclog 添加vendor 2019-01-28 11:19:49 +08:00
internal 添加vendor 2019-01-28 11:19:49 +08:00
keepalive 添加vendor 2019-01-28 11:19:49 +08:00
metadata 添加vendor 2019-01-28 11:19:49 +08:00
naming 添加vendor 2019-01-28 11:19:49 +08:00
peer 添加vendor 2019-01-28 11:19:49 +08:00
resolver 添加vendor 2019-01-28 11:19:49 +08:00
stats 添加vendor 2019-01-28 11:19:49 +08:00
status 添加vendor 2019-01-28 11:19:49 +08:00
tap 添加vendor 2019-01-28 11:19:49 +08:00
AUTHORS 添加vendor 2019-01-28 11:19:49 +08:00
CONTRIBUTING.md 添加vendor 2019-01-28 11:19:49 +08:00
LICENSE 添加vendor 2019-01-28 11:19:49 +08:00
Makefile 添加vendor 2019-01-28 11:19:49 +08:00
README.md 添加vendor 2019-01-28 11:19:49 +08:00
backoff.go 添加vendor 2019-01-28 11:19:49 +08:00
balancer.go 添加vendor 2019-01-28 11:19:49 +08:00
balancer_conn_wrappers.go 添加vendor 2019-01-28 11:19:49 +08:00
balancer_v1_wrapper.go 添加vendor 2019-01-28 11:19:49 +08:00
call.go 添加vendor 2019-01-28 11:19:49 +08:00
clientconn.go 添加vendor 2019-01-28 11:19:49 +08:00
codec.go 添加vendor 2019-01-28 11:19:49 +08:00
codegen.sh 添加vendor 2019-01-28 11:19:49 +08:00
dialoptions.go 添加vendor 2019-01-28 11:19:49 +08:00
doc.go 添加vendor 2019-01-28 11:19:49 +08:00
go16.go 添加vendor 2019-01-28 11:19:49 +08:00
go17.go 添加vendor 2019-01-28 11:19:49 +08:00
install_gae.sh 添加vendor 2019-01-28 11:19:49 +08:00
interceptor.go 添加vendor 2019-01-28 11:19:49 +08:00
picker_wrapper.go 添加vendor 2019-01-28 11:19:49 +08:00
pickfirst.go 添加vendor 2019-01-28 11:19:49 +08:00
proxy.go 添加vendor 2019-01-28 11:19:49 +08:00
resolver_conn_wrapper.go 添加vendor 2019-01-28 11:19:49 +08:00
rpc_util.go 添加vendor 2019-01-28 11:19:49 +08:00
server.go 添加vendor 2019-01-28 11:19:49 +08:00
service_config.go 添加vendor 2019-01-28 11:19:49 +08:00
stream.go 添加vendor 2019-01-28 11:19:49 +08:00
trace.go 添加vendor 2019-01-28 11:19:49 +08:00
version.go 添加vendor 2019-01-28 11:19:49 +08:00
vet.sh 添加vendor 2019-01-28 11:19:49 +08:00

README.md

gRPC-Go

Build Status GoDoc GoReportCard

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.

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 -u google.golang.org/grpc

Prerequisites

This requires Go 1.6 or later. Go 1.7 will be required soon.

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.

Performance

See the current benchmarks for some of the languages supported in this dashboard.

Status

General Availability Google Cloud Platform Launch Stages.

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