{"id":16306683,"url":"https://github.com/soh335/proxy-collector","last_synced_at":"2025-04-12T11:57:11.403Z","repository":{"id":30944378,"uuid":"34502425","full_name":"soh335/proxy-collector","owner":"soh335","description":"throw clone request to multiple host and collect responses as json.","archived":false,"fork":false,"pushed_at":"2015-04-24T07:38:47.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T01:41:55.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soh335.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":"2015-04-24T06:42:44.000Z","updated_at":"2015-04-24T07:38:47.000Z","dependencies_parsed_at":"2022-09-21T10:22:26.050Z","dependency_job_id":null,"html_url":"https://github.com/soh335/proxy-collector","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/soh335%2Fproxy-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soh335%2Fproxy-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soh335%2Fproxy-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soh335%2Fproxy-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soh335","download_url":"https://codeload.github.com/soh335/proxy-collector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565078,"owners_count":21125415,"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-10T21:11:21.458Z","updated_at":"2025-04-12T11:57:11.343Z","avatar_url":"https://github.com/soh335.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![wercker status](https://app.wercker.com/status/502464e21d5481a3704b3054ac24c8f7/s \"wercker status\")](https://app.wercker.com/project/bykey/502464e21d5481a3704b3054ac24c8f7)\n\n# proxy-collector\n\nthrow clone request to multiple host and collect responses as json.\n\n## INSTALL\n\n```\n$ go get github.com/soh335/proxy-collector/...\n```\n\n## USAGE\n\n```\n$ proxy-collector -config config.json -host 127.0.0.1 -port 7423\n$ curl -s 127.0.0.1:7243/ping | jq . # =\u003e (http://localhost:5000/ping, http://localhost:6000/ping)\n[\n  {\n    \"target\": \"http://localhost:5000\",\n    \"body\": {\n      \"pong\": \"ok\"\n    },\n    \"status_code\": 200\n  },\n  {\n    \"target\": \"http://localhost:6000\",\n    \"body\": {\n      \"pong\": \"ok\"\n    },\n    \"status_code\": 200\n  }\n]\n```\n\n### CONFIG\n\n```json\n{\n        \"target_list\": [\n                \"http://localhost:5000\",\n                \"http://localhost:6000\"\n        ],\n        \"body_fallback\": 0\n}\n```\n\n### NO JSON RESPONSE OR INVALID JSON\n\n#### BodyFallbackNone\n\nset empty body\n\n#### BodyFallbackJsonEncode\n\nencode to base64 string and set to body\n\n### LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoh335%2Fproxy-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoh335%2Fproxy-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoh335%2Fproxy-collector/lists"}