mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
7c36fb78a7
* Fix rooms v3 url paths for good - with tests - Add a test rig around `federationapi` to test routing. - Use `JSONVerifier` over `KeyRing` so we can stub things out more easily. - Add `test.NopJSONVerifier` which verifies nothing. - Add `base.BaseMux` which is the original `mux.Router` used to spawn public/internal routers. - Listen on `base.BaseMux` and not the default serve mux as it cleans paths which we don't want. - Factor out `ListenAndServe` to `test.ListenAndServe` and add flag for listening on TLS. * Fix comments * Linting |
||
---|---|---|
.. | ||
api | ||
internal | ||
inthttp | ||
userapi_test.go | ||
userapi.go |