0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-15 22:31:07 +01:00
dendrite/publicroomsapi
Kegsay 85ac8a3f5b
Factor out how monolith routes get added (#1107)
Previously we had 3 monoliths:
 - dendrite-monolith-server
 - dendrite-demo-libp2p
 - dendritejs

which all had their own of setting up public routes. Factor this
out into a new `setup.Monolith` struct which gets all dependencies
set as fields. This is different to `basecomponent.Base` which
doesn't provide any way to set configured deps (e.g public rooms db)

Part of a larger process to clean up how we initialise Dendrite.
2020-06-09 12:07:33 +01:00
..
consumers Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
directory Sort public rooms again by member count (#1083) 2020-06-02 16:18:01 +01:00
routing Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
storage Add ParseFileURI and use it when dealing with file URIs (#1088) 2020-06-04 11:18:08 +01:00
types p2p: Implement published rooms (#923) 2020-03-19 11:04:08 +00:00
publicroomsapi.go Factor out how monolith routes get added (#1107) 2020-06-09 12:07:33 +01:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Public rooms API

This server is responsible for serving requests hitting /publicRooms and /directory/list/room/{roomID} as per:

https://matrix.org/docs/spec/client_server/r0.2.0.html#listing-rooms