package
0.0.0-20241219180511-27a867595d87
Repository: https://github.com/neilalexander/harmony.git
Documentation: pkg.go.dev
# Functions
Backfill implements the /backfill federation endpoint.
ClaimOneTimeKeys claims OTKs for users on this server.
No description provided by the author
GetEvent returns the requested event.
GetEventAuth returns event auth for the roomID and eventID.
GetMissingEvents returns missing events between earliest_events & latest_events.
GetPostPublicRooms implements GET and POST /publicRooms.
GetProfile implements GET /_matrix/federation/v1/query/profile.
GetState returns state events & auth events for the roomID, eventID.
GetStateIDs returns state event IDs & auth event IDs for the roomID, eventID.
GetUserDevices for the given user id.
InviteV1 implements /_matrix/federation/v1/invite/{roomID}/{eventID}.
InviteV2 implements /_matrix/federation/v2/invite/{roomID}/{eventID}.
LocalKeys returns the local keys for the server.
MakeFedAPI makes an http.Handler that checks matrix federation authentication.
MakeFedHTTPAPI makes an http.Handler that checks matrix federation authentication.
MakeJoin implements the /make_join API.
MakeLeave implements the /make_leave API.
No description provided by the author
QueryDeviceKeys returns device keys for users on this server.
Query the immediate children of a room/space
Implements /_matrix/federation/v1/hierarchy/{roomID}.
RoomAliasToID converts the queried alias into a room ID and returns it.
Send implements /_matrix/federation/v1/send/{txnID}.
SendJoin implements the /send_join API.
SendLeave implements the /send_leave API nolint:gocyclo.
Setup registers HTTP handlers with the given ServeMux.
Version returns the server version.
# Constants
Event failed to be processed.
Terminated the transaction.
Event was passed to the Roomserver.
Event failed auth checks.
No work had to be done as we had all prev/auth events.
The event has missing auth_events we need to fetch.
The event has missing prev_events we need to call /g_m_e for.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author