{"id":18057614,"url":"https://github.com/bring-shrubbery/golang-rpc-example","last_synced_at":"2025-03-28T03:31:05.280Z","repository":{"id":126421396,"uuid":"270963512","full_name":"bring-shrubbery/golang-rpc-example","owner":"bring-shrubbery","description":"Example setup of golang's built-in RPC","archived":true,"fork":false,"pushed_at":"2021-09-12T21:03:30.000Z","size":11,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T00:45:38.450Z","etag":null,"topics":["example","golang","golang-rpc","load-balancer","rpc","scheduler"],"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/bring-shrubbery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["bring-shrubbery"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-06-09T09:46:09.000Z","updated_at":"2024-07-06T13:51:12.000Z","dependencies_parsed_at":"2023-06-16T16:15:21.991Z","dependency_job_id":null,"html_url":"https://github.com/bring-shrubbery/golang-rpc-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Fgolang-rpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Fgolang-rpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Fgolang-rpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Fgolang-rpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bring-shrubbery","download_url":"https://codeload.github.com/bring-shrubbery/golang-rpc-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966913,"owners_count":20701747,"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":["example","golang","golang-rpc","load-balancer","rpc","scheduler"],"created_at":"2024-10-31T02:08:24.697Z","updated_at":"2025-03-28T03:31:05.013Z","avatar_url":"https://github.com/bring-shrubbery.png","language":"Go","funding_links":["https://github.com/sponsors/bring-shrubbery"],"categories":[],"sub_categories":[],"readme":"# Golang RPC Example\n\n*🥑 Please star or fork this repository if you like it 👀*\n\nThis is an example of how to setup/use golang's built-in RPC. This example contains a client, scheduler (for primitive load balancing) and two servers, which are contacted by only the scheduler via RPC.\n\n## How to run\n\nTo run the full example you will need to run 4 processes: client, scheduler and 2 servers. You can start all four processes by running following commands separately (in separate terminal windows) in order as they are presented below:\n\n```bash\ngo run main.go -s1 -p 4001\n```\n\n```bash\ngo run main.go -s2 -p 4002\n```\n\n```bash\ngo run main.go -scheduler\n```\n\n```bash\ngo run main.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbring-shrubbery%2Fgolang-rpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbring-shrubbery%2Fgolang-rpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbring-shrubbery%2Fgolang-rpc-example/lists"}