consumers

package
v0.0.0-...-3dfb75c Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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.KeyServer,
	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

Jump to

Keyboard shortcuts

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