consumers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputClientDataConsumer

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

OutputClientDataConsumer consumes events that originated in the client API server.

func NewOutputClientDataConsumer

func NewOutputClientDataConsumer(
	cfg *config.SyncAPI,
	kafkaConsumer sarama.Consumer,
	n *sync.Notifier,
	store storage.Database,
) *OutputClientDataConsumer

NewOutputClientDataConsumer creates a new OutputClientData consumer. Call Start() to begin consuming from room servers.

func (*OutputClientDataConsumer) Start

func (s *OutputClientDataConsumer) Start() error

Start consuming from room servers

type OutputKeyChangeEventConsumer

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

OutputKeyChangeEventConsumer consumes events that originated in the key server.

func NewOutputKeyChangeEventConsumer

func NewOutputKeyChangeEventConsumer(
	serverName gomatrixserverlib.ServerName,
	topic string,
	kafkaConsumer sarama.Consumer,
	n *syncapi.Notifier,
	keyAPI api.KeyInternalAPI,
	rsAPI roomserverAPI.RoomserverInternalAPI,
	store storage.Database,
) *OutputKeyChangeEventConsumer

NewOutputKeyChangeEventConsumer creates a new OutputKeyChangeEventConsumer. Call Start() to begin consuming from the key server.

func (*OutputKeyChangeEventConsumer) Start

Start consuming from the key server

type OutputReceiptEventConsumer added in v0.3.0

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

OutputReceiptEventConsumer consumes events that originated in the EDU server.

func NewOutputReceiptEventConsumer added in v0.3.0

func NewOutputReceiptEventConsumer(
	cfg *config.SyncAPI,
	kafkaConsumer sarama.Consumer,
	n *sync.Notifier,
	store storage.Database,
) *OutputReceiptEventConsumer

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

func (*OutputReceiptEventConsumer) Start added in v0.3.0

func (s *OutputReceiptEventConsumer) Start() error

Start consuming from EDU api

type OutputRoomEventConsumer

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

OutputRoomEventConsumer consumes events that originated in the room server.

func NewOutputRoomEventConsumer

func NewOutputRoomEventConsumer(
	cfg *config.SyncAPI,
	kafkaConsumer sarama.Consumer,
	n *sync.Notifier,
	store storage.Database,
	rsAPI api.RoomserverInternalAPI,
) *OutputRoomEventConsumer

NewOutputRoomEventConsumer creates a new OutputRoomEventConsumer. Call Start() to begin consuming from room servers.

func (*OutputRoomEventConsumer) Start

func (s *OutputRoomEventConsumer) Start() error

Start consuming from room servers

type OutputSendToDeviceEventConsumer

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

OutputSendToDeviceEventConsumer consumes events that originated in the EDU server.

func NewOutputSendToDeviceEventConsumer

func NewOutputSendToDeviceEventConsumer(
	cfg *config.SyncAPI,
	kafkaConsumer sarama.Consumer,
	n *sync.Notifier,
	store storage.Database,
) *OutputSendToDeviceEventConsumer

NewOutputSendToDeviceEventConsumer creates a new OutputSendToDeviceEventConsumer. Call Start() to begin consuming from the EDU server.

func (*OutputSendToDeviceEventConsumer) Start

Start consuming from EDU api

type OutputTypingEventConsumer

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

OutputTypingEventConsumer consumes events that originated in the EDU server.

func NewOutputTypingEventConsumer

func NewOutputTypingEventConsumer(
	cfg *config.SyncAPI,
	kafkaConsumer sarama.Consumer,
	n *sync.Notifier,
	store storage.Database,
) *OutputTypingEventConsumer

NewOutputTypingEventConsumer creates a new OutputTypingEventConsumer. Call Start() to begin consuming from the EDU server.

func (*OutputTypingEventConsumer) Start

func (s *OutputTypingEventConsumer) Start() error

Start consuming from EDU api

Jump to

Keyboard shortcuts

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