tracker/frontend/http
elotreum 77a52f9f30 http: allow for customized routes
Update to allow arrays of routes to be passed to the http frontend.
This also supports named parameters as permitted by the
router.

To avoid external dependencies in the middleware, a RouteParam and
RouteParams type was added to the bittorrent package.

Note: this eliminates the need for "enable_legacy_php_urls", as
the the additional route could be added to the route array. However,
this may be considered a breaking change.
2020-01-14 16:35:28 -07:00
..
bencode *: add subtests for all table driven tests 2017-12-29 17:44:45 -05:00
frontend.go http: allow for customized routes 2020-01-14 16:35:28 -07:00
parser.go config: update example config 2019-10-17 12:38:08 +09:00
prometheus.go frontend: isolate prometheus logic to one file 2018-06-15 13:33:26 -04:00
writer.go pkg/log: create wrapper around logrus 2017-06-26 20:46:40 +02:00
writer_test.go *: add subtests for all table driven tests 2017-12-29 17:44:45 -05:00