Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInternalRoutes ¶
func AddInternalRoutes(router *mux.Router, intAPI api.UserInternalAPI)
AddInternalRoutes registers HTTP handlers for the internal API. Invokes functions on the given input API.
func NewInternalAPI ¶
func NewInternalAPI( base *base.BaseDendrite, cfg *config.UserAPI, appServices []config.ApplicationService, keyAPI keyapi.UserKeyAPI, rsAPI rsapi.UserRoomserverAPI, pgClient pushgateway.Client, ) api.UserInternalAPI
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.