{"id":29576349,"url":"https://github.com/shanghaobo/go-http-forward","last_synced_at":"2026-04-17T00:02:17.763Z","repository":{"id":191869247,"uuid":"685853525","full_name":"shanghaobo/go-http-forward","owner":"shanghaobo","description":"Go通过socket实现http转发","archived":false,"fork":false,"pushed_at":"2023-09-14T05:41:50.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T14:58:51.532Z","etag":null,"topics":["forward","gin","go","http","socket"],"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/shanghaobo.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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T06:52:25.000Z","updated_at":"2023-09-04T02:41:50.000Z","dependencies_parsed_at":"2023-09-01T07:59:52.437Z","dependency_job_id":"cccd4162-b198-43d0-a953-a9a76f8388d1","html_url":"https://github.com/shanghaobo/go-http-forward","commit_stats":null,"previous_names":["shanghaobo/go-http-forward"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shanghaobo/go-http-forward","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanghaobo%2Fgo-http-forward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanghaobo%2Fgo-http-forward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanghaobo%2Fgo-http-forward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanghaobo%2Fgo-http-forward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanghaobo","download_url":"https://codeload.github.com/shanghaobo/go-http-forward/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanghaobo%2Fgo-http-forward/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"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":["forward","gin","go","http","socket"],"created_at":"2025-07-19T12:01:52.181Z","updated_at":"2026-04-17T00:02:17.749Z","avatar_url":"https://github.com/shanghaobo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-http-forward\n\n\u003e go实现的通过socket转发http的功能\n\n### 使用示例\n\n```go\npackage main\n\nimport (\n\t\"github.com/shanghaobo/go-http-forward/client\"\n\t\"github.com/shanghaobo/go-http-forward/server\"\n\t\"sync\"\n)\n\nfunc main() {\n\twg := sync.WaitGroup{}\n\twg.Add(2)\n\t\n\t//启动客户端\n\tgo func() {\n\t\tdefer wg.Done()\n\t\tclient.Start(\"127.0.0.1\", \"9919\", \"12333\", \"http://127.0.0.1:19000/api/toast\")\n\t}()\n\t\n\t//启动服务端\n\tgo func() {\n\t\tdefer wg.Done()\n\t\tserver.Start(\"9919\", \"12333\", \"111\", \"19009\")\n\t}()\n\t\n\twg.Wait()\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanghaobo%2Fgo-http-forward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanghaobo%2Fgo-http-forward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanghaobo%2Fgo-http-forward/lists"}