AppServiceInternalAPI is used to query user and room alias data from application services
| 29 | // AppServiceInternalAPI is used to query user and room alias data from application |
| 30 | // services |
| 31 | type 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 |
no outgoing calls
no test coverage detected