Use gorilla/mux to route HTTP requests (#11)

* Add basic routing based on matched paths
* Make /sync and /send use the right API paths
This commit is contained in:
Kegsay 2017-02-20 15:41:29 +00:00 committed by GitHub
parent 154110b7c2
commit f1bb59d24a
7 changed files with 131 additions and 43 deletions

2
vendor/manifest vendored
View file

@ -86,7 +86,7 @@
{
"importpath": "github.com/matrix-org/util",
"repository": "https://github.com/matrix-org/util",
"revision": "0f4d9cce82badc0741ff1141dcf079312cb4d2f0",
"revision": "0bbc3896e02031e7e7338948b73ce891aa73ab2b",
"branch": "master"
},
{