MCPcopy Index your code
hub / github.com/daodst/chat / QueryLatestEventsAndStateAPI

Interface QueryLatestEventsAndStateAPI

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

Query the latest events and state for a room from the room server.

Source from the content-addressed store, hash-verified

45
46// Query the latest events and state for a room from the room server.
47type QueryLatestEventsAndStateAPI interface {
48 QueryLatestEventsAndState(ctx context.Context, req *QueryLatestEventsAndStateRequest, res *QueryLatestEventsAndStateResponse) error
49}
50
51// QueryBulkStateContent does a bulk query for state event content in the given rooms.
52type QueryBulkStateContentAPI interface {

Callers 8

HasPowerLevelMethod · 0.65
RemoveRoomAliasMethod · 0.65
performRoomUpgradeMethod · 0.65
performLeaveRoomByIDMethod · 0.65
buildEventFunction · 0.65
AddRoutesFunction · 0.65

Implementers 5

Queryerroomserver/internal/query/query.go
httpRoomserverInternalAPIroomserver/inthttp/client.go
RoomserverInternalAPITraceroomserver/api/api_trace.go
syncRoomserverAPIsyncapi/syncapi_test.go
testRoomserverAPIfederationapi/routing/send_test.go

Calls

no outgoing calls

Tested by

no test coverage detected