Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInternalRoutes ¶
func AddInternalRoutes(router *mux.Router, queryAPI appserviceAPI.AppServiceQueryAPI)
AddInternalRoutes registers HTTP handlers for internal API calls
func NewInternalAPI ¶
func NewInternalAPI( base *setup.BaseDendrite, userAPI userapi.UserInternalAPI, rsAPI roomserverAPI.RoomserverInternalAPI, ) appserviceAPI.AppServiceQueryAPI
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.
Directories ¶
Path | Synopsis |
---|---|
Package api contains methods used by dendrite components in multi-process mode to send requests to the appservice component, typically in order to ask an application service for some information.
|
Package api contains methods used by dendrite components in multi-process mode to send requests to the appservice component, typically in order to ask an application service for some information. |
Package query handles requests from other internal dendrite components when they interact with the AppServiceQueryAPI.
|
Package query handles requests from other internal dendrite components when they interact with the AppServiceQueryAPI. |
Click to show internal directories.
Click to hide internal directories.