consumers

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: AGPL-3.0 Imports: 32 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceListUpdateConsumer

type DeviceListUpdateConsumer struct {
	// contains filtered or unexported fields
}

DeviceListUpdateConsumer consumes device list updates that came in over federation.

func NewDeviceListUpdateConsumer

func NewDeviceListUpdateConsumer(
	process *process.ProcessContext,
	cfg *config.UserAPI,
	js nats.JetStreamContext,
	updater *internal.DeviceListUpdater,
) *DeviceListUpdateConsumer

NewDeviceListUpdateConsumer creates a new DeviceListConsumer. Call Start() to begin consuming from key servers.

func (*DeviceListUpdateConsumer) Start

func (t *DeviceListUpdateConsumer) Start() error

Start consuming from key servers

type OutputReceiptEventConsumer

type OutputReceiptEventConsumer struct {
	// contains filtered or unexported fields
}

OutputReceiptEventConsumer consumes events that originated in the clientAPI.

func NewOutputReceiptEventConsumer

func NewOutputReceiptEventConsumer(
	process *process.ProcessContext,
	cfg *config.UserAPI,
	js nats.JetStreamContext,
	store storage.UserDatabase,
	syncProducer *producers.SyncAPI,
	pgClient pushgateway.Client,
) *OutputReceiptEventConsumer

NewOutputReceiptEventConsumer creates a new OutputReceiptEventConsumer. Call Start() to begin consuming from the EDU server.

func (*OutputReceiptEventConsumer) Start

func (s *OutputReceiptEventConsumer) Start() error

Start consuming receipts events.

type OutputRoomEventConsumer

type OutputRoomEventConsumer struct {
	// contains filtered or unexported fields
}

func (*OutputRoomEventConsumer) Start

func (s *OutputRoomEventConsumer) Start() error

type SigningKeyUpdateConsumer

type SigningKeyUpdateConsumer struct {
	// contains filtered or unexported fields
}

SigningKeyUpdateConsumer consumes signing key updates that came in over federation.

func NewSigningKeyUpdateConsumer

func NewSigningKeyUpdateConsumer(
	process *process.ProcessContext,
	cfg *config.UserAPI,
	js nats.JetStreamContext,
	userAPI api.UploadDeviceKeysAPI,
) *SigningKeyUpdateConsumer

NewSigningKeyUpdateConsumer creates a new SigningKeyUpdateConsumer. Call Start() to begin consuming from key servers.

func (*SigningKeyUpdateConsumer) Start

func (t *SigningKeyUpdateConsumer) Start() error

Start consuming from key servers

Jump to

Keyboard shortcuts

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