{"id":16939853,"url":"https://github.com/fd0/drainchecker","last_synced_at":"2025-03-21T06:10:25.399Z","repository":{"id":136285832,"uuid":"89932537","full_name":"fd0/drainchecker","owner":"fd0","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-01T17:11:21.000Z","size":1889,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T02:52:10.810Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fd0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-01T14:47:15.000Z","updated_at":"2017-05-01T14:52:08.000Z","dependencies_parsed_at":"2023-04-09T03:33:49.284Z","dependency_job_id":null,"html_url":"https://github.com/fd0/drainchecker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Fdrainchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Fdrainchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Fdrainchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Fdrainchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fd0","download_url":"https://codeload.github.com/fd0/drainchecker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745760,"owners_count":20503050,"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","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-10-13T21:05:38.644Z","updated_at":"2025-03-21T06:10:25.394Z","avatar_url":"https://github.com/fd0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"drainchecker is a small Go library that allows checking whether HTTP response\nbodies have been fully read. Otherwise, HTTP connections cannot be reused.\n\nUSAGE\n=====\n\nWrap the default `http.DefaultRoundTripper` and it is used by `net.Get()`,\n`net.Post()` etc. You can also give it to a library:\n\n```go\nhttp.DefaultTransport = drainchecker.RoundTripper(http.DefaultTransport)\nhttp.DefaultClient.Transport = http.DefaultTransport\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Fdrainchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffd0%2Fdrainchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Fdrainchecker/lists"}