Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
balancer/ | 03-May-2024 | - | 613 | 274 | ||
codes/ | 03-May-2024 | - | 261 | 107 | ||
connectivity/ | 03-May-2024 | - | 73 | 34 | ||
credentials/ | 03-May-2024 | - | 572 | 289 | ||
encoding/ | 03-May-2024 | - | 230 | 105 | ||
grpclog/ | 03-May-2024 | - | 409 | 212 | ||
internal/ | 03-May-2024 | - | 1,328 | 797 | ||
keepalive/ | 03-May-2024 | - | 66 | 20 | ||
metadata/ | 03-May-2024 | - | 211 | 112 | ||
naming/ | 03-May-2024 | - | 425 | 232 | ||
peer/ | 03-May-2024 | - | 52 | 18 | ||
resolver/ | 03-May-2024 | - | 666 | 389 | ||
stats/ | 03-May-2024 | - | 362 | 141 | ||
status/ | 03-May-2024 | - | 278 | 148 | ||
tap/ | 03-May-2024 | - | 52 | 8 | ||
transport/ | 03-May-2024 | - | 5,537 | 4,116 | ||
.travis.yml | D | 03-May-2024 | 686 | 30 | 23 | |
AUTHORS | D | 03-May-2024 | 12 | 2 | 1 | |
CONTRIBUTING.md | D | 03-May-2024 | 2.4 KiB | 37 | 21 | |
LICENSE | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
Makefile | D | 03-May-2024 | 988 | 56 | 42 | |
README.md | D | 03-May-2024 | 2 KiB | 46 | 31 | |
backoff.go | D | 03-May-2024 | 1.1 KiB | 39 | 10 | |
balancer.go | D | 03-May-2024 | 11.5 KiB | 417 | 287 | |
balancer_conn_wrappers.go | D | 03-May-2024 | 7.2 KiB | 301 | 227 | |
balancer_v1_wrapper.go | D | 03-May-2024 | 8.5 KiB | 329 | 268 | |
call.go | D | 03-May-2024 | 3 KiB | 94 | 51 | |
clientconn.go | D | 03-May-2024 | 47.7 KiB | 1,603 | 1,125 | |
codec.go | D | 03-May-2024 | 1.6 KiB | 51 | 16 | |
codegen.sh | D | 03-May-2024 | 635 | 18 | 2 | |
doc.go | D | 03-May-2024 | 720 | 25 | 1 | |
envconfig.go | D | 03-May-2024 | 889 | 38 | 15 | |
go16.go | D | 03-May-2024 | 1.9 KiB | 71 | 43 | |
go17.go | D | 03-May-2024 | 1.9 KiB | 72 | 44 | |
install_gae.sh | D | 03-May-2024 | 236 | 7 | 4 | |
interceptor.go | D | 03-May-2024 | 4 KiB | 78 | 20 | |
picker_wrapper.go | D | 03-May-2024 | 8.3 KiB | 337 | 237 | |
pickfirst.go | D | 03-May-2024 | 2.8 KiB | 109 | 75 | |
proxy.go | D | 03-May-2024 | 3.4 KiB | 131 | 89 | |
resolver_conn_wrapper.go | D | 03-May-2024 | 4 KiB | 159 | 104 | |
rpc_util.go | D | 03-May-2024 | 21.9 KiB | 742 | 460 | |
server.go | D | 03-May-2024 | 42.3 KiB | 1,488 | 1,138 | |
service_config.go | D | 03-May-2024 | 6.7 KiB | 234 | 158 | |
stickiness_linkedmap.go | D | 03-May-2024 | 2.3 KiB | 98 | 54 | |
stream.go | D | 03-May-2024 | 22.4 KiB | 780 | 560 | |
trace.go | D | 03-May-2024 | 2.7 KiB | 114 | 72 | |
version.go | D | 03-May-2024 | 687 | 23 | 2 | |
vet.sh | D | 03-May-2024 | 3.3 KiB | 95 | 73 |
README.md
1# gRPC-Go 2 3[![Build Status](https://travis-ci.org/grpc/grpc-go.svg)](https://travis-ci.org/grpc/grpc-go) [![GoDoc](https://godoc.org/google.golang.org/grpc?status.svg)](https://godoc.org/google.golang.org/grpc) [![GoReportCard](https://goreportcard.com/badge/grpc/grpc-go)](https://goreportcard.com/report/github.com/grpc/grpc-go) 4 5The Go implementation of [gRPC](https://grpc.io/): A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the [gRPC Quick Start: Go](https://grpc.io/docs/quickstart/go.html) guide. 6 7Installation 8------------ 9 10To 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: 11 12``` 13$ go get -u google.golang.org/grpc 14``` 15 16Prerequisites 17------------- 18 19This requires Go 1.6 or later. Go 1.7 will be required soon. 20 21Constraints 22----------- 23The 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](http://godoc.org/google.golang.org/grpc?imports), you need a discussion with gRPC-Go authors and consultants. 24 25Documentation 26------------- 27See [API documentation](https://godoc.org/google.golang.org/grpc) for package and API descriptions and find examples in the [examples directory](examples/). 28 29Performance 30----------- 31See the current benchmarks for some of the languages supported in [this dashboard](https://performance-dot-grpc-testing.appspot.com/explore?dashboard=5652536396611584&widget=490377658&container=1286539696). 32 33Status 34------ 35General Availability [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). 36 37FAQ 38--- 39 40#### Compiling error, undefined: grpc.SupportPackageIsVersion 41 42Please update proto package, gRPC package and rebuild the proto files: 43 - `go get -u github.com/golang/protobuf/{proto,protoc-gen-go}` 44 - `go get -u google.golang.org/grpc` 45 - `protoc --go_out=plugins=grpc:. *.proto` 46