queue

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: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutgoingQueues

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

OutgoingQueues is a collection of queues for sending transactions to other matrix servers

func NewOutgoingQueues

NewOutgoingQueues makes a new OutgoingQueues

func (*OutgoingQueues) RetryServer

func (oqs *OutgoingQueues) RetryServer(srv gomatrixserverlib.ServerName)

RetryServer attempts to resend events to the given server if we had given up.

func (*OutgoingQueues) SendEDU

SendEDU sends an EDU event to the destinations.

func (*OutgoingQueues) SendEvent

SendEvent sends an event to the destinations

type SigningInfo

type SigningInfo struct {
	ServerName gomatrixserverlib.ServerName
	KeyID      gomatrixserverlib.KeyID
	PrivateKey ed25519.PrivateKey
}

TODO: Move this somewhere useful for other components as we often need to ferry these 3 variables around together

Jump to

Keyboard shortcuts

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