package
0.0.0-20241219180511-27a867595d87
Repository: https://github.com/neilalexander/harmony.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AuthFallback implements GET and POST /auth/{authType}/fallback/web?session={sessionID}.
No description provided by the author
Create a new key backup.
CreateRoom implements /createRoom.
Deactivate handles POST requests to /account/deactivate.
DeleteDeviceById handles DELETE requests to /devices/{deviceId}.
DeleteDevices handles POST requests to /delete_devices.
Delete a version of key backup.
No description provided by the author
DeleteTag implements DELETE /_matrix/client/r0/user/{userID}/rooms/{roomID}/tags/{tag} Delete functionality works by obtaining the saved tags, removing the intended tag from the "map" and then saving the new "map" in the DB.
DirectoryRoom looks up a room alias.
GetAccountData implements GET /user/{userId}/[rooms/{roomid}/]account_data/{type}.
GetAdminWhois implements GET /admin/whois/{userId}.
GetAliases implements GET /_matrix/client/r0/rooms/{roomId}/aliases.
No description provided by the author
GetAvatarURL implements GET /profile/{userID}/avatar_url.
Get keys from a given backup version.
GetCapabilities returns information about the server's supported feature set and other relevant capabilities to an authenticated user.
GetDeviceByID handles /devices/{deviceID}.
GetDevicesByLocalpart handles /devices.
GetDisplayName implements GET /profile/{userID}/displayname.
GetJoinedMembers implements GET /rooms/{roomId}/joined_members.
No description provided by the author
GetNotifications handles /_matrix/client/r0/notifications.
GetPostPublicRooms implements GET and POST /publicRooms.
No description provided by the author
GetProfile implements GET /profile/{userID}.
GetPushers handles /_matrix/client/r0/pushers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTags implements GET /_matrix/client/r0/user/{userID}/rooms/{roomID}/tags.
GetVisibility implements GET /directory/list/room/{roomID}.
No description provided by the author
KeyBackupVersion returns the key backup version specified.
No description provided by the author
Login implements GET and POST /login.
Logout handles POST /logout.
LogoutAll handles POST /logout/all.
Modify the auth data of a key backup.
Create a new, empty, pagination cache.
No description provided by the author
No description provided by the author
OnIncomingStateRequest is called when a client makes a /rooms/{roomID}/state request.
OnIncomingStateTypeRequest is called when a client makes a /rooms/{roomID}/state/{type}/{statekey} request.
No description provided by the author
No description provided by the author
No description provided by the author
PutTag implements PUT /_matrix/client/r0/user/{userID}/rooms/{roomID}/tags/{tag} Put functionality works by getting existing data from the DB (if any), adding the tag to the "map" and saving the new "map" to the DB.
No description provided by the author
Query the hierarchy of a room/space Implements /_matrix/client/v1/rooms/{roomID}/hierarchy.
Register processes a /register request.
RegisterAvailable checks if the username is already taken or invalid.
RemoveLocalAlias implements DELETE /directory/room/{roomAlias}.
RequestTurnServer implements: GET /voip/turnServer.
SaveAccountData implements PUT /user/{userId}/[rooms/{roomId}/]account_data/{type}.
SaveReadMarker implements POST /rooms/{roomId}/read_markers.
No description provided by the author
No description provided by the author
SendEvent implements: /rooms/{roomID}/send/{eventType} /rooms/{roomID}/send/{eventType}/{txnID} /rooms/{roomID}/state/{eventType}/{stateKey} nolint: gocyclo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:gocyclo SendServerNotice sends a message to a specific user.
SendToDevice handles PUT /_matrix/client/r0/sendToDevice/{eventType}/{txnId} sends the device events to the syncapi & federationsender.
SendTyping handles PUT /rooms/{roomID}/typing/{userID} sends the typing events to client API typingProducer.
No description provided by the author
SetAvatarURL implements PUT /profile/{userID}/avatar_url.
SetDisplayName implements PUT /profile/{userID}/displayname.
SetLocalAlias implements PUT /directory/room/{roomAlias}.
No description provided by the author
SetPusher handles /_matrix/client/r0/pushers/set This endpoint allows the creation, modification and deletion of pushers for this user ID.
No description provided by the author
Setup registers HTTP handlers with the given ServeMux.
SetVisibility implements PUT /directory/list/room/{roomID} TODO: Allow admin users to edit the room visibility.
No description provided by the author
UpdateDeviceByID handles PUT on /devices/{deviceID}.
UpgradeRoom implements /upgrade.
Upload a bunch of session keys for a given `version`.
No description provided by the author
No description provided by the author
No description provided by the author
Whoami implements `/account/whoami` which enables client to query their account user id.

# Variables

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
Success response for /_matrix/client/v1/rooms/{roomID}/hierarchy.
For storing pagination information for room hierarchies.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author