{"id":16105799,"url":"https://github.com/devlights/go-grpc-uds-example","last_synced_at":"2025-03-18T08:31:59.916Z","repository":{"id":50308369,"uuid":"290381482","full_name":"devlights/go-grpc-uds-example","owner":"devlights","description":"gRPC with Unix domain socket (UDS) example by golang","archived":false,"fork":false,"pushed_at":"2023-01-21T07:51:33.000Z","size":49,"stargazers_count":19,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T18:21:26.703Z","etag":null,"topics":["go","golang","grpc","grpc-go","protobuf","protocol-buffers","unix-domain-socket"],"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/devlights.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}},"created_at":"2020-08-26T03:06:27.000Z","updated_at":"2024-11-05T17:12:57.000Z","dependencies_parsed_at":"2023-02-12T08:30:51.493Z","dependency_job_id":null,"html_url":"https://github.com/devlights/go-grpc-uds-example","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fgo-grpc-uds-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fgo-grpc-uds-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fgo-grpc-uds-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fgo-grpc-uds-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlights","download_url":"https://codeload.github.com/devlights/go-grpc-uds-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244184204,"owners_count":20412170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","golang","grpc","grpc-go","protobuf","protocol-buffers","unix-domain-socket"],"created_at":"2024-10-09T19:10:41.718Z","updated_at":"2025-03-18T08:31:58.440Z","avatar_url":"https://github.com/devlights.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-grpc-uds-example\ngRPC with Unix domain socket (UDS) example by golang\n\nIt can be executed using [go-task](https://taskfile.dev/#/).\n\n```sh\n$ task --list\ntask: Available tasks for this project:\n* install-requirements: install requirements\n* protoc:               gen protoc\n* run:                  run\n```\n\n## Install gRPC and Go libraries\n\n```sh\ntask install-requirements\n```\n\n## Run protoc\n\n```sh\ntask protoc\n```\n\n## Run Server and Client\n\n```sh\ntask run\n```\n\n## Example\n\n```sh\n$ task install-requirements\ntask: [install-requirements] mkdir tmp\ntask: [_download-protoc] curl -L https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip --output protoc.zip\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\n100 1548k  100 1548k    0     0  4254k      0 --:--:-- --:--:-- --:--:-- 4254k\ntask: [_unzip-protoc] unzip ./protoc.zip -d protoc\nArchive:  ./protoc.zip\n  inflating: protoc/bin/protoc       \n  inflating: protoc/include/google/protobuf/any.proto  \n  inflating: protoc/include/google/protobuf/api.proto  \n  inflating: protoc/include/google/protobuf/compiler/plugin.proto  \n  inflating: protoc/include/google/protobuf/descriptor.proto  \n  inflating: protoc/include/google/protobuf/duration.proto  \n  inflating: protoc/include/google/protobuf/empty.proto  \n  inflating: protoc/include/google/protobuf/field_mask.proto  \n  inflating: protoc/include/google/protobuf/source_context.proto  \n  inflating: protoc/include/google/protobuf/struct.proto  \n  inflating: protoc/include/google/protobuf/timestamp.proto  \n  inflating: protoc/include/google/protobuf/type.proto  \n  inflating: protoc/include/google/protobuf/wrappers.proto  \n  inflating: protoc/readme.txt       \ntask: [install-requirements] mkdir -p bin\ntask: [install-requirements] rm -rf bin/protoc\ntask: [_locate-protoc] mv -f ./protoc/ ../bin\ntask: [install-requirements] rm -rf ./tmp\ntask: [install-requirements] go install google.golang.org/protobuf/cmd/protoc-gen-go@latest\ntask: [install-requirements] go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest\ntask: [install-requirements] rm -rf ./text-files; git clone --quiet https://github.com/devlights/text-files\n\n\n$ task protoc\ntask: [protoc] mkdir -p internal\ntask: [protoc] bin/protoc/bin/protoc --go_out=. --go-grpc_out=require_unimplemented_servers=false:. proto/*.proto\n\n\n$ task run\ntask: [run] go run cmd/server/server.go \u0026\ntask: [run] sleep 1\ntask: [run] go run cmd/client/client.go\ndata:\"HELLO WORLD\"\ndata:\"GOLANG\"\ndata:\"GOROUTINE\"\ndata:\"THIS PROGRAM RUNS ON CROSTINI\"\ntask: [run] sleep 1\ntask: [run] pkill server\nsignal: terminated\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fgo-grpc-uds-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlights%2Fgo-grpc-uds-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fgo-grpc-uds-example/lists"}