Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPublicRoutes ¶
func AddPublicRoutes( ctx context.Context, routers httputil.Routers, cfg *config.Matrix, keyRing gomatrixserverlib.JSONVerifier, relayAPI api.RelayInternalAPI, )
AddPublicRoutes sets up and registers HTTP handlers on the base API muxes for the FederationAPI component.
func NewRelayInternalAPI ¶
func NewRelayInternalAPI( ctx context.Context, cfg *config.Matrix, cm sqlutil.ConnectionManager, fedClient fclient.FederationClient, rsAPI rsAPI.RoomserverInternalAPI, keyRing *gomatrixserverlib.KeyRing, producer *producers.SyncAPIProducer, relayingEnabled bool, caches cacheutil.FederationCache, ) api.RelayInternalAPI
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.