[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4774":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":37,"discoverSource":38},4774,"grpc-go","grpc\u002Fgrpc-go","grpc","The Go language implementation of gRPC. HTTP\u002F2 based RPC","https:\u002F\u002Fgrpc.io",null,"Go",22955,4685,459,99,0,2,7,33,80.8,"Apache License 2.0",false,"master",[25,26,27,28,7,29,30,31,32,33],"dogs-over-cats","giant-robots","go","golang","hacktoberfest","microservices","not-nanoservices","proto","rpc","2026-06-12 04:00:22","# gRPC-Go\n\n[![GoDoc](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgoogle.golang.org\u002Fgrpc)][API]\n[![GoReportCard](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgrpc\u002Fgrpc-go)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fgrpc\u002Fgrpc-go)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgrpc\u002Fgrpc-go\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgrpc\u002Fgrpc-go)\n\nThe [Go][] implementation of [gRPC][]: A high performance, open source, general\nRPC framework that puts mobile and HTTP\u002F2 first. For more information see the\n[Go gRPC docs][], or jump directly into the [quick start][].\n\n## Prerequisites\n\n- **[Go][]**: any one of the **two latest major** [releases][go-releases].\n\n## Installation\n\nSimply add the following import to your code, and then `go [build|run|test]`\nwill automatically fetch the necessary dependencies:\n\n\n```go\nimport \"google.golang.org\u002Fgrpc\"\n```\n\n> **Note:** If you are trying to access `grpc-go` from **China**, see the\n> [FAQ](#FAQ) below.\n\n## Learn more\n\n- [Go gRPC docs][], which include a [quick start][] and [API\n  reference][API] among other resources\n- [Low-level technical docs](Documentation) from this repository\n- [Performance benchmark][]\n- [Examples](examples)\n- [Contribution guidelines](CONTRIBUTING.md)\n\n## FAQ\n\n### I\u002FO Timeout Errors\n\nThe `golang.org` domain may be blocked from some countries. `go get` usually\nproduces an error like the following when this happens:\n\n```console\n$ go get -u google.golang.org\u002Fgrpc\npackage google.golang.org\u002Fgrpc: unrecognized import path \"google.golang.org\u002Fgrpc\" (https fetch: Get https:\u002F\u002Fgoogle.golang.org\u002Fgrpc?go-get=1: dial tcp 216.239.37.1:443: i\u002Fo timeout)\n```\n\nTo build Go code, there are several options:\n\n- Set up a VPN and access google.golang.org through that.\n\n- With Go module support: it is possible to use the `replace` feature of `go\n  mod` to create aliases for golang.org packages.  In your project's directory:\n\n  ```sh\n  go mod edit -replace=google.golang.org\u002Fgrpc=github.com\u002Fgrpc\u002Fgrpc-go@latest\n  go mod tidy\n  go mod vendor\n  go build -mod=vendor\n  ```\n\n  Again, this will need to be done for all transitive dependencies hosted on\n  golang.org as well. For details, refer to [golang\u002Fgo issue\n  #28652](https:\u002F\u002Fgithub.com\u002Fgolang\u002Fgo\u002Fissues\u002F28652).\n\n### Compiling error, undefined: grpc.SupportPackageIsVersion\n\nPlease update to the latest version of gRPC-Go using\n`go get google.golang.org\u002Fgrpc`.\n\n### How to turn on logging\n\nThe default logger is controlled by environment variables. Turn everything on\nlike this:\n\n```console\n$ export GRPC_GO_LOG_VERBOSITY_LEVEL=99\n$ export GRPC_GO_LOG_SEVERITY_LEVEL=info\n```\n\n### The RPC failed with error `\"code = Unavailable desc = transport is closing\"`\n\nThis error means the connection the RPC is using was closed, and there are many\npossible reasons, including:\n 1. mis-configured transport credentials, connection failed on handshaking\n 1. bytes disrupted, possibly by a proxy in between\n 1. server shutdown\n 1. Keepalive parameters caused connection shutdown, for example if you have\n    configured your server to terminate connections regularly to [trigger DNS\n    lookups](https:\u002F\u002Fgithub.com\u002Fgrpc\u002Fgrpc-go\u002Fissues\u002F3170#issuecomment-552517779).\n    If this is the case, you may want to increase your\n    [MaxConnectionAgeGrace](https:\u002F\u002Fpkg.go.dev\u002Fgoogle.golang.org\u002Fgrpc\u002Fkeepalive?tab=doc#ServerParameters),\n    to allow longer RPC calls to finish.\n\nIt can be tricky to debug this because the error happens on the client side but\nthe root cause of the connection being closed is on the server side. Turn on\nlogging on __both client and server__, and see if there are any transport\nerrors.\n\n[API]: https:\u002F\u002Fpkg.go.dev\u002Fgoogle.golang.org\u002Fgrpc\n[Go]: https:\u002F\u002Fgolang.org\n[Go module]: https:\u002F\u002Fgithub.com\u002Fgolang\u002Fgo\u002Fwiki\u002FModules\n[gRPC]: https:\u002F\u002Fgrpc.io\n[Go gRPC docs]: https:\u002F\u002Fgrpc.io\u002Fdocs\u002Flanguages\u002Fgo\n[Performance benchmark]: https:\u002F\u002Fperformance-dot-grpc-testing.appspot.com\u002Fexplore?dashboard=5180705743044608\n[quick start]: https:\u002F\u002Fgrpc.io\u002Fdocs\u002Flanguages\u002Fgo\u002Fquickstart\n[go-releases]: https:\u002F\u002Fgolang.org\u002Fdoc\u002Fdevel\u002Frelease.html\n","gRPC-Go 是 gRPC 的 Go 语言实现，基于 HTTP\u002F2 提供高性能的远程过程调用框架。该项目支持微服务架构，并且在移动和 HTTP\u002F2 上表现尤为出色。它具备强大的序列化机制、流控制以及认证机制等功能特点，同时提供了丰富的 API 和详尽的文档支持，便于开发者快速上手。gRPC-Go 适用于需要跨语言、跨平台通信的应用场景，尤其是构建分布式系统或微服务时。其开源性质与活跃的社区支持使得 gRPC-Go 成为众多开发者的选择。","2026-06-11 03:00:26","top_language"]