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

Interface AppServiceInternalAPI

appservice/api/query.go:31–44  ·  view source on GitHub ↗

AppServiceInternalAPI is used to query user and room alias data from application services

Source from the content-addressed store, hash-verified

29// AppServiceInternalAPI is used to query user and room alias data from application
30// services
31type AppServiceInternalAPI interface {
32 // Check whether a room alias exists within any application service namespaces
33 RoomAliasExists(
34 ctx context.Context,
35 req *RoomAliasExistsRequest,
36 resp *RoomAliasExistsResponse,
37 ) error
38 // Check whether a user ID exists within any application service namespaces
39 UserIDExists(
40 ctx context.Context,
41 req *UserIDExistsRequest,
42 resp *UserIDExistsResponse,
43 ) error
44}
45
46// RoomAliasExistsRequest is a request to an application service
47// about whether a room alias exists

Callers 4

GetRoomIDForAliasMethod · 0.65
AddRoutesFunction · 0.65
AddRoutesFunction · 0.65
RetrieveUserProfileFunction · 0.65

Implementers 2

AppServiceQueryAPIappservice/query/query.go
httpAppServiceQueryAPIappservice/inthttp/client.go

Calls

no outgoing calls

Tested by

no test coverage detected