consumers

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 21 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputReceiptEventConsumer added in v0.10.0

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

OutputReceiptEventConsumer consumes events that originated in the clientAPI.

func NewOutputReceiptEventConsumer added in v0.10.0

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

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

func (*OutputReceiptEventConsumer) Start added in v0.10.0

func (s *OutputReceiptEventConsumer) Start() error

Start consuming receipts events.

type OutputRoomEventConsumer added in v0.10.0

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

func NewOutputRoomEventConsumer added in v0.10.0

func NewOutputRoomEventConsumer(
	process *process.ProcessContext,
	cfg *config.UserAPI,
	js nats.JetStreamContext,
	store storage.Database,
	pgClient pushgateway.Client,
	rsAPI rsapi.UserRoomserverAPI,
	syncProducer *producers.SyncAPI,
) *OutputRoomEventConsumer

func (*OutputRoomEventConsumer) Start added in v0.10.0

func (s *OutputRoomEventConsumer) Start() error

Jump to

Keyboard shortcuts

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