Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFlags ¶
ParseFlags parses the commandline flags and uses them to create a config.
Types ¶
type Monolith ¶
type Monolith struct { Config *config.Dendrite AccountDB accounts.Database KeyRing *gomatrixserverlib.KeyRing Client *gomatrixserverlib.Client FedClient *gomatrixserverlib.FederationClient AppserviceAPI appserviceAPI.AppServiceQueryAPI EDUInternalAPI eduServerAPI.EDUServerInputAPI FederationAPI federationAPI.FederationInternalAPI RoomserverAPI roomserverAPI.RoomserverInternalAPI UserAPI userapi.UserInternalAPI KeyAPI keyAPI.KeyInternalAPI // Optional ExtPublicRoomsProvider api.ExtraPublicRoomsProvider }
Monolith represents an instantiation of all dependencies required to build all components of Dendrite, for use in monolith mode.
func (*Monolith) AddAllPublicRoutes ¶
func (m *Monolith) AddAllPublicRoutes(process *process.ProcessContext, csMux, ssMux, keyMux, wkMux, mediaMux, synapseMux *mux.Router)
AddAllPublicRoutes attaches all public paths to the given router
Directories ¶
Path | Synopsis |
---|---|
Package mscs implements Matrix Spec Changes from https://github.com/matrix-org/matrix-doc
|
Package mscs implements Matrix Spec Changes from https://github.com/matrix-org/matrix-doc |
msc2836
Package msc2836 'Threading' implements https://github.com/matrix-org/matrix-doc/pull/2836
|
Package msc2836 'Threading' implements https://github.com/matrix-org/matrix-doc/pull/2836 |
msc2946
Package msc2946 'Spaces Summary' implements https://github.com/matrix-org/matrix-doc/pull/2946
|
Package msc2946 'Spaces Summary' implements https://github.com/matrix-org/matrix-doc/pull/2946 |
Click to show internal directories.
Click to hide internal directories.