{"id":20766207,"url":"https://github.com/navono/go-grpc","last_synced_at":"2026-05-26T20:02:56.295Z","repository":{"id":74496640,"uuid":"143361645","full_name":"navono/go-grpc","owner":"navono","description":"A demo for grpc based golang","archived":false,"fork":false,"pushed_at":"2018-08-03T01:24:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T18:54:57.928Z","etag":null,"topics":["golang","grpc-go"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-03T01:23:41.000Z","updated_at":"2018-08-03T01:24:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d3dcb66-d0d6-41f4-807c-ac39d00ffa33","html_url":"https://github.com/navono/go-grpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/navono/go-grpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navono%2Fgo-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navono%2Fgo-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navono%2Fgo-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navono%2Fgo-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navono","download_url":"https://codeload.github.com/navono/go-grpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navono%2Fgo-grpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33536662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","grpc-go"],"created_at":"2024-11-17T11:22:01.535Z","updated_at":"2026-05-26T20:02:56.268Z","avatar_url":"https://github.com/navono.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-grpc\n使用`golang`演示`grpc`的功能\n\n# development\n## 安装go插件\n`grpc`依赖`protobuff3`，同时针对`golang`，还有一个`protobuff`的插件。因此需要安装以下模块：\n- protobuff\n- protoc-gen-go\n- grpc\n\n获取源码：\n\u003e go get -u github.com/golang/protobuf/protoc-gen-go\n\n安装：\n\u003e go install github.com/golang/protobuf/protoc-gen-go\n\n## 编译.proto文件\n如果`GOPATH`的bin没有加入到环境变量：\n\u003e protoc --plugin=protoc-gen-go=$env:GOPATH\\bin\\protoc-gen-go.exe -I . helloworld.proto --go_out=.\n\n如果加入了环境变量：\n\u003cbr\u003e\n根目录下运行：\n\u003e protoc -I helloworld/ helloworld/helloworld.proto --go_out=plugins=grpc:helloworld\n\nhelloworld下运行：\n\u003e protoc -I helloworld/ helloworld.proto --go_out=plugins=grpc:helloworld\n\n\n- dep ensure -add google.golang.org/grpc\n- dep ensure -add github.com/golang/protobuf/protoc-gen-go","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavono%2Fgo-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavono%2Fgo-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavono%2Fgo-grpc/lists"}