{"id":13764107,"url":"https://github.com/vardius/gorouter","last_synced_at":"2025-04-06T15:13:35.915Z","repository":{"id":9786680,"uuid":"63337769","full_name":"vardius/gorouter","owner":"vardius","description":"Go Server/API micro framework, HTTP request router, multiplexer, mux","archived":false,"fork":false,"pushed_at":"2024-09-05T02:45:54.000Z","size":6460,"stargazers_count":154,"open_issues_count":9,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-25T05:26:21.082Z","etag":null,"topics":["framework","gorouter","goserver","http-server","multiplexer","mux","router"],"latest_commit_sha":null,"homepage":"https://rafallorenz.com/gorouter","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/vardius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":["vardius"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-07-14T13:13:34.000Z","updated_at":"2024-09-07T06:20:36.000Z","dependencies_parsed_at":"2024-01-03T01:18:40.875Z","dependency_job_id":"8fcbf5f0-25c4-4cda-9fe8-8a94757b976d","html_url":"https://github.com/vardius/gorouter","commit_stats":null,"previous_names":["vardius/goserver"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardius%2Fgorouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardius%2Fgorouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardius%2Fgorouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardius%2Fgorouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vardius","download_url":"https://codeload.github.com/vardius/gorouter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500469,"owners_count":20948880,"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":["framework","gorouter","goserver","http-server","multiplexer","mux","router"],"created_at":"2024-08-03T15:01:14.035Z","updated_at":"2025-04-06T15:13:35.898Z","avatar_url":"https://github.com/vardius.png","language":"Go","readme":"🍃 gorouter\n================\n[![Build Status](https://travis-ci.com/vardius/gorouter.svg?branch=master)](https://travis-ci.com/vardius/gorouter)\n[![Go Report Card](https://goreportcard.com/badge/github.com/vardius/gorouter)](https://goreportcard.com/report/github.com/vardius/gorouter)\n[![codecov](https://codecov.io/gh/vardius/gorouter/branch/master/graph/badge.svg)](https://codecov.io/gh/vardius/gorouter)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvardius%2Fgorouter.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvardius%2Fgorouter?ref=badge_shield)\n[![](https://godoc.org/github.com/vardius/gorouter?status.svg)](https://pkg.go.dev/github.com/vardius/gorouter)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/vardius/gorouter/blob/master/LICENSE.md)\n\n\u003cimg align=\"right\" height=\"180px\" src=\"website/src/static/img/logo.png\" alt=\"logo\" /\u003e\n\nGo Server/API micro framework, HTTP request router, multiplexer, mux.\n\n📖 ABOUT\n==================================================\nContributors:\n\n* [Rafał Lorenz](https://rafallorenz.com)\n\nWant to contribute ? Feel free to send pull requests!\n\nHave problems, bugs, feature ideas?\nWe are using the github [issue tracker](https://github.com/vardius/gorouter/issues) to manage them.\n\n## 📚 Documentation\n\nFor **documentation** (_including examples_), **visit [rafallorenz.com/gorouter](https://rafallorenz.com/gorouter)**\n\nFor **GoDoc** reference, **visit [pkg.go.dev](https://pkg.go.dev/github.com/vardius/gorouter)**\n\n## 🚅 Benchmark\n\n```go\n➜  gorouter git:(master) ✗ go test -bench=. -cpu=4 -benchmem\ntest\ngoos: darwin\ngoarch: amd64\npkg: github.com/vardius/gorouter/v4\nBenchmarkNetHTTP-4              \t65005786\t        17.9 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkFastHTTP-4             \t69810878\t        16.5 ns/op\t       0 B/op\t       0 allocs/op\nPASS\nok  \tgithub.com/vardius/gorouter/v4\t3.808s\n```\n\n👉 **[Click here](https://rafallorenz.com/gorouter/docs/benchmark)** to see all benchmark results.\n\n## Features\n- Routing System\n- Middleware System\n- Authentication\n- Fast HTTP\n- Serving Files\n- Multidomain\n- HTTP2 Support\n- Low memory usage\n- [Documentation](https://rafallorenz.com/gorouter/)\n\n🚏 HOW TO USE\n==================================================\n\n- [Basic example](https://rafallorenz.com/gorouter/docs/basic-example)\n- [net/http](https://rafallorenz.com/gorouter/docs/basic-example#nethttp)\n- [valyala/fasthttp](https://rafallorenz.com/gorouter/docs/basic-example#fasthttp)\n\n## 🖥️ API example setup\n\n- **[Go Server/API boilerplate](https://github.com/vardius/go-api-boilerplate)** using best practices DDD CQRS ES.\n\n📜 [License](LICENSE.md)\n-------\n\nThis package is released under the MIT license. See the complete license in the package:\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvardius%2Fgorouter.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvardius%2Fgorouter?ref=badge_large)\n","funding_links":["https://github.com/sponsors/vardius"],"categories":["Web框架","Web Frameworks","路由","Routers"],"sub_categories":["路由器","Routers","创建http中间件的代码库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvardius%2Fgorouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvardius%2Fgorouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvardius%2Fgorouter/lists"}