consumers

package
v0.0.0-...-811715e Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 10 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

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.KeyServer,
	js nats.JetStreamContext,
	keyAPI *internal.KeyInternalAPI,
) *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