Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vulcand/route

HTTP request routing library and language
https://github.com/vulcand/route

Last synced: 5 days ago
JSON representation

HTTP request routing library and language

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 language

Documentation:

http://godoc.org/github.com/vulcand/route