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

Interface ClientFederationAPI

federationapi/api/api.go:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type ClientFederationAPI interface {
35 // Query the server names of the joined hosts in a room.
36 // Unlike QueryJoinedHostsInRoom, this function returns a de-duplicated slice
37 // containing only the server names (without information for membership events).
38 // The response will include this server if they are joined to the room.
39 QueryJoinedHostServerNamesInRoom(ctx context.Context, request *QueryJoinedHostServerNamesInRoomRequest, response *QueryJoinedHostServerNamesInRoomResponse) error
40}
41
42type RoomserverFederationAPI interface {
43 gomatrixserverlib.BackfillClient

Callers 8

processRoomEventMethod · 0.65
authorisedServerMethod · 0.65
fetchUnknownEventMethod · 0.65
authorisedToSeeEventMethod · 0.65
getServersForEventIDMethod · 0.65
DirectoryRoomFunction · 0.65
AddRoutesFunction · 0.65
RoomAliasToIDFunction · 0.65

Implementers 2

FederationInternalAPIfederationapi/internal/api.go
httpFederationInternalAPIfederationapi/inthttp/client.go

Calls

no outgoing calls

Tested by

no test coverage detected