Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OffsetNewest tells e.g. the database to get the most current data OffsetNewest int64 = math.MaxInt64 // OffsetOldest tells e.g. the database to get the oldest data OffsetOldest int64 = 0 )
Variables ¶
View Source
var KeyTypeIntToPurpose = map[int16]fclient.CrossSigningKeyPurpose{ 1: fclient.CrossSigningKeyPurposeMaster, 2: fclient.CrossSigningKeyPurposeSelfSigning, 3: fclient.CrossSigningKeyPurposeUserSigning, }
KeyTypeIntToPurpose maps an integer to a purpose, which is used in the database to reduce the amount of space taken up by this column.
View Source
var KeyTypePurposeToInt = map[fclient.CrossSigningKeyPurpose]int16{ fclient.CrossSigningKeyPurposeMaster: 1, fclient.CrossSigningKeyPurposeSelfSigning: 2, fclient.CrossSigningKeyPurposeUserSigning: 3, }
KeyTypePurposeToInt maps a purpose to an integer, which is used in the database to reduce the amount of space taken up by this column.
Functions ¶
This section is empty.
Types ¶
type CrossSigningKeyMap ¶ added in v0.12.0
type CrossSigningKeyMap map[fclient.CrossSigningKeyPurpose]spec.Base64Bytes
Map of purpose -> public key
type CrossSigningSigMap ¶ added in v0.12.0
type CrossSigningSigMap map[string]map[gomatrixserverlib.KeyID]spec.Base64Bytes
Map of user ID -> key ID -> signature
type DatabaseEngine ¶
type MessageStats ¶ added in v0.10.7
Click to show internal directories.
Click to hide internal directories.