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. |
||
---|---|---|
.. | ||
bittorrent.go | ||
bittorrent_test.go | ||
client_id.go | ||
client_id_test.go | ||
event.go | ||
event_test.go | ||
params.go | ||
params_test.go | ||
sanitize.go |