{"id":36691328,"url":"https://github.com/pramonow/go-grpc-server-streaming-example","last_synced_at":"2026-01-12T11:21:14.070Z","repository":{"id":55387776,"uuid":"311534798","full_name":"pramonow/go-grpc-server-streaming-example","owner":"pramonow","description":"golang grpc server side streaming example","archived":false,"fork":false,"pushed_at":"2025-05-20T10:42:41.000Z","size":13,"stargazers_count":27,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T11:48:50.417Z","etag":null,"topics":["golang","grpc"],"latest_commit_sha":null,"homepage":"","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/pramonow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-10T03:29:36.000Z","updated_at":"2025-05-20T10:42:45.000Z","dependencies_parsed_at":"2023-01-23T14:15:58.344Z","dependency_job_id":null,"html_url":"https://github.com/pramonow/go-grpc-server-streaming-example","commit_stats":null,"previous_names":["pramonow/go-grpc-server-streaming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pramonow/go-grpc-server-streaming-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pramonow%2Fgo-grpc-server-streaming-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pramonow%2Fgo-grpc-server-streaming-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pramonow%2Fgo-grpc-server-streaming-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pramonow%2Fgo-grpc-server-streaming-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pramonow","download_url":"https://codeload.github.com/pramonow/go-grpc-server-streaming-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pramonow%2Fgo-grpc-server-streaming-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"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"],"created_at":"2026-01-12T11:21:13.591Z","updated_at":"2026-01-12T11:21:14.064Z","avatar_url":"https://github.com/pramonow.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang grpc server streaming example\n\nSimple grpc server streaming capability with Golang, this code will have server and client each:\n* Server: Will have a function that will stream 5 responses with slight delay each.\n* Client: Will send a request to server and wait on all the responses.\n---\n# Running it\nRun with makefile\n```\nmake all\n```\nThis will create the pb file for grpc and also the client and server binary.\n---\n# Usage\n\n## Build Docker Image using docker compose\n```\ndocker-compose -f docker-compose.yml build\n```\n\n## Run up all docker containers using docker compose\n```\ndocker-compose -f docker-compose.yml up\n```\n\nThis will be shown in client\n```\n2020/11/10 22:26:11 Resp received: Request #0 For Id:1\n2020/11/10 22:26:12 Resp received: Request #1 For Id:1\n2020/11/10 22:26:13 Resp received: Request #2 For Id:1\n2020/11/10 22:26:14 Resp received: Request #3 For Id:1\n2020/11/10 22:26:15 Resp received: Request #4 For Id:1\n2020/11/10 22:26:15 finished\n```\nThis will be shown in server\n```\n2020/11/10 22:26:09 start server\n2020/11/10 22:26:11 fetch response for id : 1\n2020/11/10 22:26:11 finishing request number : 0\n2020/11/10 22:26:12 finishing request number : 1\n2020/11/10 22:26:13 finishing request number : 2\n2020/11/10 22:26:14 finishing request number : 3\n2020/11/10 22:26:15 finishing request number : 4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpramonow%2Fgo-grpc-server-streaming-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpramonow%2Fgo-grpc-server-streaming-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpramonow%2Fgo-grpc-server-streaming-example/lists"}