 Documentation
      ¶
      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
	KeyRing   *gomatrixserverlib.KeyRing
	Client    *fclient.Client
	FedClient fclient.FederationClient
	AppserviceAPI appserviceAPI.AppServiceInternalAPI
	FederationAPI federationAPI.FederationInternalAPI
	RoomserverAPI roomserverAPI.RoomserverInternalAPI
	UserAPI       userapi.UserInternalAPI
	RelayAPI      relayAPI.RelayInternalAPI
	// Optional
	ExtPublicRoomsProvider   api.ExtraPublicRoomsProvider
	ExtUserDirectoryProvider userapi.QuerySearchProfilesAPI
}
    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( processCtx *process.ProcessContext, cfg *config.Dendrite, routers httputil.Routers, cm sqlutil.Connections, natsInstance *jetstream.NATSInstance, caches *caching.Caches, enableMetrics bool, )
AddAllPublicRoutes attaches all public paths to the given router
       Directories
      ¶
      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.