types

package
v0.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

KeyTypeIntToPurpose maps an integer to a purpose, which is used in the database to reduce the amount of space taken up by this column.

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 DatabaseEngine struct {
	Engine  string
	Version string
}

type MessageStats added in v0.10.7

type MessageStats struct {
	Messages         int64
	SentMessages     int64
	MessagesE2EE     int64
	SentMessagesE2EE int64
}

type UserStatistics

type UserStatistics struct {
	RegisteredUsersByType map[string]int64
	R30Users              map[string]int64
	R30UsersV2            map[string]int64
	AllUsers              int64
	NonBridgedUsers       int64
	DailyUsers            int64
	MonthlyUsers          int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL