https://github.com/vulcand/route
HTTP request routing library and language
https://github.com/vulcand/route
Last synced: 3 months ago
JSON representation
HTTP request routing library and language
- Host: GitHub
- URL: https://github.com/vulcand/route
- Owner: vulcand
- License: apache-2.0
- Created: 2014-11-25T22:02:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T02:28:52.000Z (3 months ago)
- Last Synced: 2025-03-30T06:07:59.331Z (3 months ago)
- Language: Go
- Size: 63.5 KB
- Stars: 60
- Watchers: 23
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Route
=====```go
Host("localhost") && Method(http.MethodPost) && Path("/v1")
Host("localhost") && Method(http.MethodPost) && Path("/v1") && Header("Content-Type", "application/")
```HTTP request routing language and library.
Features:
* Trie based matching
* Regexp based matching
* Matches hosts, headers, methods and paths
* Flexible matching languageDocumentation:
http://godoc.org/github.com/vulcand/route