{"id":19674538,"url":"https://github.com/core-go/client","last_synced_at":"2025-09-24T15:48:32.484Z","repository":{"id":54422510,"uuid":"300232632","full_name":"core-go/client","owner":"core-go","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T16:16:09.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T17:26:54.722Z","etag":null,"topics":["client","http-client"],"latest_commit_sha":null,"homepage":"","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/core-go.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}},"created_at":"2020-10-01T10:05:42.000Z","updated_at":"2025-03-12T16:16:12.000Z","dependencies_parsed_at":"2024-03-25T06:18:29.693Z","dependency_job_id":null,"html_url":"https://github.com/core-go/client","commit_stats":null,"previous_names":["common-go/httpclient","core-go/httpclient"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/core-go/client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-go%2Fclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-go%2Fclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-go%2Fclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-go%2Fclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/core-go","download_url":"https://codeload.github.com/core-go/client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-go%2Fclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276778311,"owners_count":25703151,"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","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["client","http-client"],"created_at":"2024-11-11T17:18:47.900Z","updated_at":"2025-09-24T15:48:32.471Z","avatar_url":"https://github.com/core-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# client\n- This library is used to communicate with other services by http\n\n## Installation\nPlease make sure to initialize a Go module before installing core-go/client:\n\n```shell\ngo get -u github.com/core-go/client\n```\n\nImport:\n```go\nimport \"github.com/core-go/client\"\n```\n## Features\n### Initialize http client from config\n- Initialize client for http\n- Initialize client for https\n### Log request, response at client\nSupport to turn on, turn off\n- request\n- response\n- duration\n- http response status code\n- response content length\n\n### Benefits\n- Do not need to re-compile the service, user can switch client from http to https\n- Do not need to re-compile the service, user can turn on, turn off the log (request, response, duration, response content length...)\n### Microservice Architect\n![Microservice Architect](https://cdn-images-1.medium.com/max/800/1*vKeePO_UC73i7tfymSmYNA.png)\n\n### A typical micro service\nWhen you zoom one micro service, the flow is as below\n![A typical micro service](https://cdn-images-1.medium.com/max/800/1*d9kyekAbQYBxH-C6w38XZQ.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcore-go%2Fclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcore-go%2Fclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcore-go%2Fclient/lists"}