{"id":34176765,"url":"https://github.com/sleleko/go-microservice","last_synced_at":"2026-03-09T23:34:35.695Z","repository":{"id":187323685,"uuid":"676710281","full_name":"sleleko/go-microservice","owner":"sleleko","description":"Simple microservice example based on Golang","archived":false,"fork":false,"pushed_at":"2023-08-09T21:45:32.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-18T10:41:26.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sleleko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-08-09T20:37:13.000Z","updated_at":"2023-08-09T20:38:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"092352de-99f3-4e6f-97f2-a74f0c813dbd","html_url":"https://github.com/sleleko/go-microservice","commit_stats":null,"previous_names":["sleleko/go-microservice"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sleleko/go-microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleleko%2Fgo-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleleko%2Fgo-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleleko%2Fgo-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleleko%2Fgo-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sleleko","download_url":"https://codeload.github.com/sleleko/go-microservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleleko%2Fgo-microservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30316772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-12-15T12:51:29.074Z","updated_at":"2026-03-09T23:34:35.688Z","avatar_url":"https://github.com/sleleko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-microservice\nSimple microservice example based on Golang\n\n## How to run?\n\n1) First you should install Go into your operation system\n2) run service 1 ```go run service1.go```\n3) run service 2 ```go run service2.go```\n4) run gateway ```go run gateway.go```\n\n## How to test result ?\n\n1) Run (for example via curl or your browser) http://localhost:8080/service1 (You should see message from service1 called via microservice gateway)\n2) Run (for example via curl or your browser) http://localhost:8080/service2 (You should see message from service2 called via microservice gateway)\n3) Run (for example via curl or your browser) http://localhost:8081/ (You should see message from service1 called via service1 directly)\n4) Run (for example via curl or your browser) http://localhost:8082/ (You should see message from service1 called via service2 directly)\n\n## How to run in Docker ?\n1) git clone this project\n2) For start: go to project dir and run ```docker-compose up --build```\n3) For stop: ```docker-compose down```\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleleko%2Fgo-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleleko%2Fgo-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleleko%2Fgo-microservice/lists"}