{"id":37114894,"url":"https://github.com/wangshiben/quicframework","last_synced_at":"2026-01-14T13:30:11.561Z","repository":{"id":242025928,"uuid":"808474844","full_name":"wangshiben/QuicFrameWork","owner":"wangshiben","description":"兼容Quic协议的Http框架，支持请求参数泛型化注入","archived":false,"fork":false,"pushed_at":"2025-08-05T13:38:08.000Z","size":216,"stargazers_count":106,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-05T15:28:12.388Z","etag":null,"topics":["framework","http3","quic"],"latest_commit_sha":null,"homepage":"https://quicframeworkdoc.github.io/","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/wangshiben.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,"zenodo":null}},"created_at":"2024-05-31T06:35:56.000Z","updated_at":"2025-08-05T13:33:32.000Z","dependencies_parsed_at":"2025-07-21T01:20:09.295Z","dependency_job_id":null,"html_url":"https://github.com/wangshiben/QuicFrameWork","commit_stats":null,"previous_names":["wangshiben/quicframework"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/wangshiben/QuicFrameWork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangshiben%2FQuicFrameWork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangshiben%2FQuicFrameWork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangshiben%2FQuicFrameWork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangshiben%2FQuicFrameWork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangshiben","download_url":"https://codeload.github.com/wangshiben/QuicFrameWork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangshiben%2FQuicFrameWork/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"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":["framework","http3","quic"],"created_at":"2026-01-14T13:30:10.799Z","updated_at":"2026-01-14T13:30:11.549Z","avatar_url":"https://github.com/wangshiben.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuickFrameWork\r\n\r\nA framework compatible with Http1-1 and Http2, supporting Http1-1, Http2, and Http3 requests.\r\n\r\nDefault self-signed certificate (ESDA) support.\r\n\r\nQuick Start: [Documentation](https://quicframeworkdoc.github.io/)\r\n\r\nLanguage: English | [中文](README_zh.md)\r\n\r\n## Advantages:\r\n1. Faster processing in high-concurrency scenarios\r\n\u003e For test results, please refer to the test documentation:\r\n\u003e\r\n\u003e [Test Documentation](test.md)\r\n\r\n2. Automatic content injection based on request structure, supporting custom request locations, default values, and parameter renaming\r\n\r\n## Currently Supported:\r\n\r\n1. Path supports regular expression matching, * matching, and ** matching\r\n2. JSON output for request error handling\r\n3. Support for custom signature certificates\r\n4. Automatic content injection based on request structure, supporting custom request locations, default values, and parameter renaming\r\n\r\n## Quick Start\r\n\r\n1. Import:\r\n\r\n```bash\r\ngo get github.com/wangshiben/QuicFrameWork\r\n```\r\n\r\n2. Usage\r\n\r\n```go\r\nfunc main() {\r\n    // Trusted certificate\r\n    newServer := server.NewServer(\"cert.pem\", \"cert.key\", \":4445\")\r\n    // Or: newServer := server.NewServer(\"\", \"\", \":4445\") to use self-signed certificate\r\n    newServer.AddHttpHandler(\"/bck/**\", http.MethodGet, func (w http.ResponseWriter, r *http.Request) {\r\n        fmt.Fprintf(w, \"Welcome to http3 page\")\r\n        fmt.Println(r.Proto)\r\n    })\r\n    newServer.AddHttpHandler(\"/bck/**\", http.MethodPost, func (w http.ResponseWriter, r *http.Request) {\r\n        fmt.Fprintf(w, \"Welcome to http3 POST page\")\r\n        fmt.Println(r.Proto)\r\n    })\r\n    newServer.StartServer()\r\n}\r\n```\r\n\r\n3. Usage Reference\r\n\r\nSee main.go for examples\r\n\r\n## TODO\r\n\r\n\u003e v0.1.0 TODO\r\n\r\n1. [x] Interceptor registration\r\n2. [ ] Path matching optimization\r\n3. [x] Authentication design and Session management\r\n4. [x] Regular expression matching optimization\r\n\r\n\u003e v0.2.0 TODO\r\n1. [ ] SSE protocol support\r\n2. [ ] WebSocket protocol support\r\n3. [ ] StreamHttp protocol support ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangshiben%2Fquicframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangshiben%2Fquicframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangshiben%2Fquicframework/lists"}