relay

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type RelayServerRetriever

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

func NewRelayServerRetriever

func NewRelayServerRetriever(
	ctx context.Context,
	serverName gomatrixserverlib.ServerName,
	federationAPI federationAPI.FederationInternalAPI,
	relayAPI relayServerAPI.RelayInternalAPI,
	quit chan bool,
) RelayServerRetriever

func (*RelayServerRetriever) GetQueriedServerStatus

func (r *RelayServerRetriever) GetQueriedServerStatus() map[gomatrixserverlib.ServerName]bool

func (*RelayServerRetriever) GetRelayServers

func (r *RelayServerRetriever) GetRelayServers() []gomatrixserverlib.ServerName

func (*RelayServerRetriever) InitializeRelayServers

func (r *RelayServerRetriever) InitializeRelayServers(eLog *logrus.Entry)

func (*RelayServerRetriever) IsRunning

func (r *RelayServerRetriever) IsRunning() bool

func (*RelayServerRetriever) SetRelayServers

func (r *RelayServerRetriever) SetRelayServers(servers []gomatrixserverlib.ServerName)

func (*RelayServerRetriever) StartSync

func (r *RelayServerRetriever) StartSync()

func (*RelayServerRetriever) SyncRelayServers

func (r *RelayServerRetriever) SyncRelayServers(stop <-chan bool)

Jump to

Keyboard shortcuts

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