{"id":25005025,"url":"https://github.com/johnsalazar/microservices-go-common","last_synced_at":"2026-04-29T10:04:19.810Z","repository":{"id":173325394,"uuid":"650580480","full_name":"JohnSalazar/microservices-go-common","owner":"JohnSalazar","description":"Common and shared module in the implementation of microservices for the e-commerce application built in Golang.","archived":false,"fork":false,"pushed_at":"2023-06-12T13:58:38.000Z","size":69,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T18:05:06.954Z","etag":null,"topics":["asymetric-cryptography","authentication","authorization","background-service","certificates","claims","cors","discovery-service","grpc","health-check","jwt-token","metrics","middlewares","rest-api","tracing","validators"],"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/JohnSalazar.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":"security/manager-certificates-interface.go","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-07T11:19:40.000Z","updated_at":"2025-03-13T16:41:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c126b0c-f374-4efc-9b72-58540cf7c761","html_url":"https://github.com/JohnSalazar/microservices-go-common","commit_stats":null,"previous_names":["johnsalazar/microservices-go-common"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JohnSalazar/microservices-go-common","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnSalazar","download_url":"https://codeload.github.com/JohnSalazar/microservices-go-common/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-common/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420356,"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":["asymetric-cryptography","authentication","authorization","background-service","certificates","claims","cors","discovery-service","grpc","health-check","jwt-token","metrics","middlewares","rest-api","tracing","validators"],"created_at":"2025-02-05T00:09:54.889Z","updated_at":"2026-04-29T10:04:19.805Z","avatar_url":"https://github.com/JohnSalazar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Microservices in Golang - Common Module**\n\n## This is the common and shared module in the implementation of microservices for the e-commerce application\n\n## Languages\n\n- Golang\n\n---\n\n## Implementations\n\n- Config Parse\n- Discovery Service Consul\n- GRPC Email Server / Client\n- HTTP Server\n- HTTP Responses\n- Logger\n- Metrics Implementation\n- Middlewares\n  - Authentication\n  - Authorization\n  - Cors\n  - Healthy Check\n  - Metrics GRPC\n  - Metrics HTTP\n- Models\n  - ECDSA Public Key\n  - Status Payment\n  - RSA Public Key\n  - Token Claims\n- Nats\n- Repositories\n  - Admin MongoDB Mongo Exporter\n- Security\n  - Manager Certificates\n  - Manager Security ECDSA Keys\n  - Manager Security RSA Keys\n  - Manager Token\n- Services\n  - Admin MongoDB Mongo Exporter\n  - Certificates\n  - Email Service\n  - Metrics\n  - Security ECDSA Keys\n  - Security RSA Keys\n- Tasks (background service)\n  - Check Certificates\n  - Check Service Name (discovery service)\n  - Verify Public ECDSA Key (rotation public key)\n  - Verify Public RSA Key (rotation public key)\n- Tracing\n  - Jaeger Provider\n  - Open Telemetry Span\n- Validators Configuration\n\n---\n\n## Structure Overview\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"architecture overview\" src=\"https://github.com/JohnSalazar/microservices-go-common/assets/16736914/3c4b03fe-a7c9-4c94-811e-80310e58c73e\" /\u003e\n\u003c/p\u003e\n\n---\n\n## List of Services\n\n- [Authentication](https://github.com/JohnSalazar/microservices-go-authentication)\n- [Email](https://github.com/JohnSalazar/microservices-go-email)\n- [Customer](https://github.com/JohnSalazar/microservices-go-customer)\n- [Product](https://github.com/JohnSalazar/microservices-go-product)\n- [Cart](https://github.com/JohnSalazar/microservices-go-cart)\n- [Order](https://github.com/JohnSalazar/microservices-go-order)\n- [Payment](https://github.com/JohnSalazar/microservices-go-payment)\n- [Web](https://github.com/JohnSalazar/microservices-go-web)\n\n---\n\n## About\n\nCommon module was developed by [oceano.dev](https://oceano.dev/) \u003cimg alt=\"Brasil\" src=\"https://github.com/JohnSalazar/microservices-go-common/assets/16736914/6bb3c0ad-6fb1-4740-bb25-7ab5bcd83da1\" width=\"20\" height=\"14\" /\u003e team under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-common/lists"}