package
0.0.0-20210922083416-9835270b055a
Repository: https://github.com/finogeeks/ligase.git
Documentation: pkg.go.dev
# Functions
AddUserInfo implements POST /user_info/{userID}.
No description provided by the author
CheckAndSave3PIDAssociation implements POST /account/3pid.
CreateRoom implements /createRoom.
DeleteDeviceByID handles Delete on /devices/{deviceID} Deletes the given device, and invalidates any access token associated with it.accountDB model.AccountsDatabase, deviceDB model.DeviceDatabase,.
No description provided by the author
No description provided by the author
DeleteUserInfo implements DELETE /user_info/{userID}.
DirectoryRoom looks up a room alias.
No description provided by the author
Forget3PID implements POST /account/3pid/delete.
No description provided by the author
GetAssociated3PIDs implements GET /account/3pid.
GetAvatarURL implements GET /profile/{userID}/avatar_url.
GetDeviceByID handles /device/{deviceID}.
GetDevicesByUserID handles /devices.
GetDisplayName implements GET /profile/{userID}/displayname.
GetFilter implements GET /_matrix/client/r0/user/{userId}/filter/{filterId}.
No description provided by the author
No description provided by the author
GetProfile implements GET /profile/{userID}.
GetProfiles implements GET /profiles.
No description provided by the author
No description provided by the author
GetUserInfo implements GET /user_info/{userID}.
GetUserInfoList implements GET /user_info_list.
GetVisibility implements GET /directory/list/room/{roomID}.
No description provided by the author
JoinRoomByIDOrAlias implements the "/join/{roomIDOrAlias}" API.
LegacyRegister process register requests from the legacy v1 API.
No description provided by the author
Login implements GET and POST /login.
Logout handles POST /logout.
LogoutAll handles POST /logout/all.
No description provided by the author
No description provided by the author
current has not del.
No description provided by the author
handle GET /rooms.
handle GET /rooms/{roomId}/joined_members.
No description provided by the author
No description provided by the author
PutFilter implements POST /_matrix/client/r0/user/{userId}/filter.
No description provided by the author
No description provided by the author
Register processes a /register request.
RegisterAvailable checks if the username is already taken or invalid.
RemoveLocalAlias implements DELETE /directory/room/{roomAlias} TODO: Check if the user has the power level to remove an alias.
RequestEmailToken implements: POST /account/3pid/email/requestToken POST /register/email/requestToken.
RequestTurnServer implements: GET /voip/turnServer.
handle /user/{userId}/[rooms/{roomId}/]account_data/{type} handle /user/{userID}/account_data/{type} with roomID empty.
SendMembership implements PUT /rooms/{roomID}/(join|kick|ban|unban|leave|invite) by building a m.room.member event then sending it to the room server.
SetAvatarURL implements PUT /profile/{userID}/avatar_url.
SetDisplayName implements PUT /profile/{userID}/displayname.
SetLocalAlias implements PUT /directory/room/{roomAlias} TODO: Check if the user has the power level to set an alias.
No description provided by the author
SetUserInfo implements PUT /user_info/{userID}.
UpdateDeviceByID handles PUT on /devices/{deviceID}.
No description provided by the author
No description provided by the author
UsernameIsWithinApplicationServiceNamespace checks to see if a username falls within any of the namespaces of a given Application Service.
UsernameMatchesMultipleExclusiveNamespaces will check if a given username matches more than one exclusive namespace.
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author