Documentation ¶
Index ¶
Constants ¶
View Source
const ( FederationSenderQueryJoinedHostServerNamesInRoomPath = "/federationsender/queryJoinedHostServerNamesInRoom" FederationSenderPerformDirectoryLookupRequestPath = "/federationsender/performDirectoryLookup" FederationSenderPerformJoinRequestPath = "/federationsender/performJoinRequest" FederationSenderPerformLeaveRequestPath = "/federationsender/performLeaveRequest" FederationSenderPerformInviteRequestPath = "/federationsender/performInviteRequest" FederationSenderPerformServersAlivePath = "/federationsender/performServersAlive" FederationSenderPerformBroadcastEDUPath = "/federationsender/performBroadcastEDU" FederationSenderGetUserDevicesPath = "/federationsender/client/getUserDevices" FederationSenderClaimKeysPath = "/federationsender/client/claimKeys" FederationSenderQueryKeysPath = "/federationsender/client/queryKeys" FederationSenderBackfillPath = "/federationsender/client/backfill" FederationSenderLookupStatePath = "/federationsender/client/lookupState" FederationSenderLookupStateIDsPath = "/federationsender/client/lookupStateIDs" FederationSenderGetEventPath = "/federationsender/client/getEvent" FederationSenderGetServerKeysPath = "/federationsender/client/getServerKeys" FederationSenderLookupServerKeysPath = "/federationsender/client/lookupServerKeys" )
HTTP paths for the internal HTTP API
Variables ¶
This section is empty.
Functions ¶
func AddRoutes ¶
func AddRoutes(intAPI api.FederationSenderInternalAPI, internalAPIMux *mux.Router)
AddRoutes adds the FederationSenderInternalAPI handlers to the http.ServeMux. nolint:gocyclo
func NewFederationSenderClient ¶
func NewFederationSenderClient(federationSenderURL string, httpClient *http.Client) (api.FederationSenderInternalAPI, error)
NewFederationSenderClient creates a FederationSenderInternalAPI implemented by talking to a HTTP POST API. If httpClient is nil an error is returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.