{"id":21898125,"url":"https://github.com/cn-docker/microservices-demo-golang","last_synced_at":"2026-04-29T09:31:27.460Z","repository":{"id":183421312,"uuid":"670113077","full_name":"cn-docker/microservices-demo-golang","owner":"cn-docker","description":"Microservices Demo - Golang","archived":false,"fork":false,"pushed_at":"2026-03-04T22:22:34.000Z","size":37,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-05T04:18:54.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cn-docker.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":"jnonino","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-07-24T10:20:55.000Z","updated_at":"2026-03-04T22:22:36.000Z","dependencies_parsed_at":"2023-12-08T11:30:51.311Z","dependency_job_id":"ff696677-235e-4758-a339-e46a7965ffee","html_url":"https://github.com/cn-docker/microservices-demo-golang","commit_stats":null,"previous_names":["cn-docker/microservices-demo-golang"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/cn-docker/microservices-demo-golang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cn-docker","download_url":"https://codeload.github.com/cn-docker/microservices-demo-golang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-golang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32419776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"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":"2024-11-28T14:23:59.551Z","updated_at":"2026-04-29T09:31:27.444Z","avatar_url":"https://github.com/cn-docker.png","language":"Dockerfile","funding_links":["https://patreon.com/jnonino"],"categories":[],"sub_categories":[],"readme":"# Microservices Demo\n\n[![](https://img.shields.io/docker/pulls/cnservices/microservices-demo-golang)](https://hub.docker.com/r/cnservices/microservices-demo-golang/)\n[![](hhttps://img.shields.io/docker/build/cnservices/microservices-demo-golang)](https://hub.docker.com/r/cnservices/microservices-demo-golang/)\n[![](https://img.shields.io/docker/automated/cnservices/microservices-demo-golang)](https://hub.docker.com/r/cnservices/microservices-demo-golang/)\n[![](https://img.shields.io/docker/stars/cnservices/microservices-demo-golang)](https://hub.docker.com/r/cnservices/microservices-demo-golang/)\n[![](https://img.shields.io/github/license/cn-docker/microservices-demo-golang)](https://github.com/cn-docker/microservices-demo-golang)\n[![](https://img.shields.io/github/issues/cn-docker/microservices-demo-golang)](https://github.com/cn-docker/microservices-demo-golang)\n[![](https://img.shields.io/github/issues-closed/cn-docker/microservices-demo-golang)](https://github.com/cn-docker/microservices-demo-golang)\n[![](https://img.shields.io/github/languages/code-size/cn-docker/microservices-demo-golang)](https://github.com/cn-docker/microservices-demo-golang)\n[![](https://img.shields.io/github/repo-size/cn-docker/microservices-demo-golang)](https://github.com/cn-docker/microservices-demo-golang)\n\n## Build\n\nThis is a Golang app that serves a web page showing the ID of the docker container in which it is running.\nTo build this app, from the root of this repository just run:\n\n    docker build -t demo-go .\n\nTo create a container from that image, run:\n\n    docker run -p XXXX:8080 demo-go\n\nYou will be able to see the app going to:\n\n    localhost:XXXX\n\n### Rest API\n\nThe app contains three Rest API.\n\nIndex - Return the served site.\n\n    localhost:XXXX\n\nExit Successfully - Accessing this Rest API will make the container to exit successfully.\n\n    localhost:XXXX/exitSuccess\n\nExit With Error - Accessing this Rest API will make the container to exit with error.\n\n    localhost:XXXX/exitWithError\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-docker%2Fmicroservices-demo-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcn-docker%2Fmicroservices-demo-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-docker%2Fmicroservices-demo-golang/lists"}