Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPublicRoutes ¶
func AddPublicRoutes( ctx context.Context, routers httputil.Routers, dendriteConfig *config.Matrix, qm queueutil.QueueManager, userAPI userAPI.FederationUserAPI, federation fclient.FederationClient, keyRing gomatrixserverlib.JSONVerifier, rsAPI roomserverAPI.FederationRoomserverAPI, fedAPI federationAPI.FederationInternalAPI, enableMetrics bool, )
AddPublicRoutes sets up and registers HTTP handlers on the base API muxes for the FederationAPI component.
func NewInternalAPI ¶
func NewInternalAPI( ctx context.Context, mcfg *config.Matrix, cm sqlutil.ConnectionManager, qm queueutil.QueueManager, am actorutil.ActorManager, federation fclient.FederationClient, rsAPI roomserverAPI.FederationRoomserverAPI, caches *cacheutil.Caches, keyRing *gomatrixserverlib.KeyRing, resetBlacklist bool, presenceCli presencev1connect.PresenceServiceClient, ) *internal.FederationInternalAPI
NewInternalAPI returns a concerete implementation of the internal API. Callers can call functions directly on the returned API or via an HTTP interface using AddInternalRoutes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.