Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Monolith ¶
type Monolith struct {
Config *config.Matrix
Service *frame.Service
KeyRing *gomatrixserverlib.KeyRing
Client *fclient.Client
FedClient fclient.FederationClient
AppserviceAPI appserviceAPI.AppServiceInternalAPI
FederationAPI federationAPI.FederationInternalAPI
RoomserverAPI roomserverAPI.RoomserverInternalAPI
UserAPI userAPI.UserInternalAPI
RelayAPI relayAPI.RelayInternalAPI
PartitionCli *partitionv1.PartitionClient
ProfileCli *profilev1.ProfileClient
PresenceCli presencev1connect.PresenceServiceClient
// Optional
ExtPublicRoomsProvider api.ExtraPublicRoomsProvider
ExtUserDirectoryProvider userAPI.QuerySearchProfilesAPI
}
Monolith represents an instantiation of all dependencies required to build all components of Matrix, for use in monolith mode.
func (*Monolith) AddAllPublicRoutes ¶
func (m *Monolith) AddAllPublicRoutes( ctx context.Context, cfg *config.Matrix, routers httputil.Routers, cm sqlutil.ConnectionManager, qm queueutil.QueueManager, caches *cacheutil.Caches, am actorutil.ActorManager, enableMetrics bool, )
AddAllPublicRoutes attaches all public paths to the given router
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mscs implements Global Spec Changes from https://github.com/matrix-org/matrix-doc
|
Package mscs implements Global 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 |
Click to show internal directories.
Click to hide internal directories.