internal

package
v1.1.63 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RelayInternalAPI

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

func NewRelayInternalAPI

func NewRelayInternalAPI(
	db storage.Database,
	fedClient fclient.FederationClient,
	rsAPI rsAPI.RoomserverInternalAPI,
	keyRing *gomatrixserverlib.KeyRing,
	producer *producers.SyncAPIProducer,
	presenceEnabledInbound bool,
	serverName spec.ServerName,
	relayingEnabled bool,
) *RelayInternalAPI

func (*RelayInternalAPI) PerformRelayServerSync

func (r *RelayInternalAPI) PerformRelayServerSync(
	ctx context.Context,
	userID spec.UserID,
	relayServer spec.ServerName,
) error

PerformRelayServerSync implements api.RelayInternalAPI

func (*RelayInternalAPI) PerformStoreTransaction

func (r *RelayInternalAPI) PerformStoreTransaction(
	ctx context.Context,
	transaction gomatrixserverlib.Transaction,
	userID spec.UserID,
) error

PerformStoreTransaction implements api.RelayInternalAPI

func (*RelayInternalAPI) QueryTransactions

func (r *RelayInternalAPI) QueryTransactions(
	ctx context.Context,
	userID spec.UserID,
	previousEntry fclient.RelayEntry,
) (api.QueryRelayTransactionsResponse, error)

QueryTransactions implements api.RelayInternalAPI

func (*RelayInternalAPI) RelayingEnabled

func (r *RelayInternalAPI) RelayingEnabled() bool

RelayingEnabled implements api.RelayInternalAPI

func (*RelayInternalAPI) SetRelayingEnabled

func (r *RelayInternalAPI) SetRelayingEnabled(enabled bool)

SetRelayingEnabled implements api.RelayInternalAPI

Jump to

Keyboard shortcuts

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