Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vardius/Gorouter
Go Server/API micro framework, HTTP request router, multiplexer, mux
https://github.com/vardius/Gorouter
framework gorouter goserver http-server multiplexer mux router
Last synced: 20 days ago
JSON representation
Go Server/API micro framework, HTTP request router, multiplexer, mux
- Host: GitHub
- URL: https://github.com/vardius/Gorouter
- Owner: vardius
- License: mit
- Created: 2016-07-14T13:13:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T02:45:54.000Z (2 months ago)
- Last Synced: 2024-10-14T06:09:02.494Z (about 1 month ago)
- Topics: framework, gorouter, goserver, http-server, multiplexer, mux, router
- Language: Go
- Homepage: https://rafallorenz.com/gorouter
- Size: 6.16 MB
- Stars: 154
- Watchers: 7
- Forks: 17
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
π gorouter
================
[![Build Status](https://travis-ci.com/vardius/gorouter.svg?branch=master)](https://travis-ci.com/vardius/gorouter)
[![Go Report Card](https://goreportcard.com/badge/github.com/vardius/gorouter)](https://goreportcard.com/report/github.com/vardius/gorouter)
[![codecov](https://codecov.io/gh/vardius/gorouter/branch/master/graph/badge.svg)](https://codecov.io/gh/vardius/gorouter)
[![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)
[![](https://godoc.org/github.com/vardius/gorouter?status.svg)](https://pkg.go.dev/github.com/vardius/gorouter)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/vardius/gorouter/blob/master/LICENSE.md)Go Server/API micro framework, HTTP request router, multiplexer, mux.
π ABOUT
==================================================
Contributors:* [RafaΕ Lorenz](https://rafallorenz.com)
Want to contribute ? Feel free to send pull requests!
Have problems, bugs, feature ideas?
We are using the github [issue tracker](https://github.com/vardius/gorouter/issues) to manage them.## π Documentation
For **documentation** (_including examples_), **visit [rafallorenz.com/gorouter](https://rafallorenz.com/gorouter)**
For **GoDoc** reference, **visit [pkg.go.dev](https://pkg.go.dev/github.com/vardius/gorouter)**
## π Benchmark
```go
β gorouter git:(master) β go test -bench=. -cpu=4 -benchmem
test
goos: darwin
goarch: amd64
pkg: github.com/vardius/gorouter/v4
BenchmarkNetHTTP-4 65005786 17.9 ns/op 0 B/op 0 allocs/op
BenchmarkFastHTTP-4 69810878 16.5 ns/op 0 B/op 0 allocs/op
PASS
ok github.com/vardius/gorouter/v4 3.808s
```π **[Click here](https://rafallorenz.com/gorouter/docs/benchmark)** to see all benchmark results.
## Features
- Routing System
- Middleware System
- Authentication
- Fast HTTP
- Serving Files
- Multidomain
- HTTP2 Support
- Low memory usage
- [Documentation](https://rafallorenz.com/gorouter/)π HOW TO USE
==================================================- [Basic example](https://rafallorenz.com/gorouter/docs/basic-example)
- [net/http](https://rafallorenz.com/gorouter/docs/basic-example#nethttp)
- [valyala/fasthttp](https://rafallorenz.com/gorouter/docs/basic-example#fasthttp)## π₯οΈ API example setup
- **[Go Server/API boilerplate](https://github.com/vardius/go-api-boilerplate)** using best practices DDD CQRS ES.
π [License](LICENSE.md)
-------This package is released under the MIT license. See the complete license in the package:
[![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)