Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 427 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 427 Bytes

Route

Host("localhost") && Method(http.MethodPost) && Path("/v1")
Host("localhost") && Method(http.MethodPost) && Path("/v1") && Header("Content-Type", "application/<string>")

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