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

# Constants

AccountTypeAdmin indicates this is an admin account.
AccountTypeAppService indicates this is an appservice account.
AccountTypeGuest indicates this is a guest account.
AccountTypeUser indicates this is a user account.
ConflictAbort will reject the request with ErrorConflict.
ConflictUpdate will update matching records returning no error.
DefaultLoginTokenLifetime determines how old a valid token may be.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Account represents a Matrix account on this home server.
No description provided by the author
Device represents a client's device (mobile, web, etc).
DeviceKeys represents a set of device keys for a single device https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-keys-upload.
DeviceMessage represents the message produced into Kafka by the key server.
ErrorConflict is an error indicating that there was a conflict which resulted in the request being aborted.
ErrorForbidden is an error indicating that the supplied access token is forbidden.
FallbackKeys represents a set of fallback keys for a single device https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-keys-upload.
InputAccountDataRequest is the request for InputAccountData.
InputAccountDataResponse is the response for InputAccountData.
Internal KeyBackupData for passing to/from the storage layer.
KeyBackupData in https://spec.matrix.org/unstable/client-server-api/#get_matrixclientr0room_keyskeysroomidsessionid.
KeyError is returned if there was a problem performing/querying the server.
LoginTokenData is the data that can be retrieved given a login token.
LoginTokenMetadata contains metadata created and maintained by the User API.
No description provided by the author
OneTimeKeys represents a set of one-time keys for a single device https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-keys-upload.
OneTimeKeysCount represents the counts of one-time keys for a single device.
OutputCrossSigningKeyUpdate is an entry in the signing key update output kafka log.
PerformAccountCreationRequest is the request for PerformAccountCreation.
PerformAccountCreationResponse is the response for PerformAccountCreation.
PerformAccountDeactivationRequest is the request for PerformAccountDeactivation.
PerformAccountDeactivationResponse is the response for PerformAccountDeactivation.
No description provided by the author
No description provided by the author
PerformDeleteKeysRequest asks the keyserver to forget about certain keys, and signatures related to those keys.
PerformDeleteKeysResponse is the response to PerformDeleteKeysRequest.
PerformDeviceCreationRequest is the request for PerformDeviceCreation.
PerformDeviceCreationResponse is the response for PerformDeviceCreation.
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
PerformLastSeenUpdateRequest is the request for PerformLastSeenUpdate.
PerformLastSeenUpdateResponse is the response for PerformLastSeenUpdate.
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
PerformAccountCreationRequest is the request for PerformAccountCreation.
PerformAccountCreationResponse is the response for PerformAccountCreation.
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
PerformUploadKeysRequest is the request to PerformUploadKeys.
PerformUploadKeysResponse is the response to PerformUploadKeys.
Pusher represents a push notification subscriber.
QueryAccessTokenRequest is the request for QueryAccessToken.
QueryAccessTokenResponse is the response for QueryAccessToken.
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
QueryAccountDataRequest is the request for QueryAccountData.
QueryAccountDataResponse is the response for QueryAccountData.
QueryDeviceInfosRequest is the request to QueryDeviceInfos.
QueryDeviceInfosResponse is the response to QueryDeviceInfos.
No description provided by the author
No description provided by the author
QueryDevicesRequest is the request for QueryDevices.
QueryDevicesResponse is the response for QueryDevices.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuerySearchProfilesRequest is the request for QueryProfile.
QuerySearchProfilesResponse is the response for QuerySearchProfilesRequest.
No description provided by the author
No description provided by the author

# Interfaces

api functions required by the appservice api.
API functions required by the clientapi.
api functions required by the client api.
No description provided by the author
api functions required by the federation api.
No description provided by the author
No description provided by the author
api functions required by the media api.
No description provided by the author
common function for creating authenticated endpoints (used in client/media/sync api).
custom api functions required by pinecone / p2p demos.
No description provided by the author
API functions required by the syncapi.
api functions required by the sync api.
No description provided by the author
UserInternalAPI is the internal API for information about users and devices.
No description provided by the author

# Type aliases

AccountType is an enum representing the kind of account.
Conflict is an enum representing what to do when encountering conflicting when creating profiles/devices.
No description provided by the author
No description provided by the author