MCPcopy Create free account
hub / github.com/daodst/chat / SetFederationAPI

Method SetFederationAPI

roomserver/api/api.go:23–23  ·  view source on GitHub ↗

needed to avoid chicken and egg scenario when setting up the interdependencies between the roomserver and other input APIs

(fsAPI fsAPI.RoomserverFederationAPI, keyRing *gomatrixserverlib.KeyRing)

Source from the content-addressed store, hash-verified

21 // needed to avoid chicken and egg scenario when setting up the
22 // interdependencies between the roomserver and other input APIs
23 SetFederationAPI(fsAPI fsAPI.RoomserverFederationAPI, keyRing *gomatrixserverlib.KeyRing)
24 SetAppserviceAPI(asAPI asAPI.AppServiceInternalAPI)
25 SetUserAPI(userAPI userapi.RoomserverUserAPI)
26

Callers 7

Test_SharedUsersFunction · 0.65
SetFederationAPIMethod · 0.65
mainFunction · 0.65
startupFunction · 0.65
mainFunction · 0.65
RoomServerFunction · 0.65
mainFunction · 0.65

Implementers 2

httpRoomserverInternalAPIroomserver/inthttp/client.go
RoomserverInternalAPITraceroomserver/api/api_trace.go

Calls

no outgoing calls

Tested by 1

Test_SharedUsersFunction · 0.52