{"id":38929171,"url":"https://github.com/rohanraj7316/httpclient","last_synced_at":"2026-01-17T15:39:46.143Z","repository":{"id":57655751,"uuid":"454459006","full_name":"rohanraj7316/httpclient","owner":"rohanraj7316","description":"basic http client with id tagging, req, resp and req/res body tagging","archived":false,"fork":false,"pushed_at":"2022-05-30T08:26:52.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-27T22:35:25.309Z","etag":null,"topics":["golang","http"],"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/rohanraj7316.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":null,"support":null}},"created_at":"2022-02-01T16:18:33.000Z","updated_at":"2023-04-07T20:29:10.000Z","dependencies_parsed_at":"2022-08-25T10:11:39.323Z","dependency_job_id":null,"html_url":"https://github.com/rohanraj7316/httpclient","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"purl":"pkg:github/rohanraj7316/httpclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanraj7316%2Fhttpclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanraj7316%2Fhttpclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanraj7316%2Fhttpclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanraj7316%2Fhttpclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohanraj7316","download_url":"https://codeload.github.com/rohanraj7316/httpclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanraj7316%2Fhttpclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["golang","http"],"created_at":"2026-01-17T15:39:45.816Z","updated_at":"2026-01-17T15:39:46.115Z","avatar_url":"https://github.com/rohanraj7316.png","language":"Go","readme":"# httpclient\n\nhttp request client with in build request and response logging.\n\n## Integration\n\neither you can import default config and edit it out according to your needs or you can use `Config` struct to create your own config. for example:\n\n```\n// passing the config as nil.\n// internally http client uses\n// default config\nclient, err := httpclient.New()\nif err != nil {\n\tlog.Println(err)\n}\n```\n\nor \n\n```\n// initialize the config\nhConfig := httpclient.Config{\n\tTimeout: 10 * time.Second,\n}\n\n// passing the http config while creating new http client\nclient, err := httpclient.New(hConfig...)\nif err != nil {\n\tlog.Println(err)\n}\n```\n\nthen you can use this client inside your code.\n\n## Example\n\nbelow are the examples which gonna help you to get started with the the integration.\n\n[example](example/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanraj7316%2Fhttpclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohanraj7316%2Fhttpclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanraj7316%2Fhttpclient/lists"}