internal

package
v1.1.33 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: AGPL-3.0 Imports: 25 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 FederationInternalAPI

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

FederationInternalAPI is an implementation of api.FederationInternalAPI

func (*FederationInternalAPI) Backfill

func (a *FederationInternalAPI) Backfill(
	ctx context.Context, origin, s spec.ServerName, roomID string, limit int, eventIDs []string,
) (res gomatrixserverlib.Transaction, err error)

func (*FederationInternalAPI) ClaimKeys

func (a *FederationInternalAPI) ClaimKeys(
	ctx context.Context, origin, s spec.ServerName, oneTimeKeys map[string]map[string]string,
) (fclient.RespClaimKeys, error)

func (*FederationInternalAPI) FetcherName

func (s *FederationInternalAPI) FetcherName() string

func (*FederationInternalAPI) GetEvent

func (a *FederationInternalAPI) GetEvent(
	ctx context.Context, origin, s spec.ServerName, eventID string,
) (res gomatrixserverlib.Transaction, err error)

func (*FederationInternalAPI) GetEventAuth

func (a *FederationInternalAPI) GetEventAuth(
	ctx context.Context, origin, s spec.ServerName,
	roomVersion gomatrixserverlib.RoomVersion, roomID, eventID string,
) (res fclient.RespEventAuth, err error)

func (*FederationInternalAPI) GetUserDevices

func (a *FederationInternalAPI) GetUserDevices(
	ctx context.Context, origin, s spec.ServerName, userID string,
) (fclient.RespUserDevices, error)

func (*FederationInternalAPI) IsBlacklistedOrBackingOff

func (a *FederationInternalAPI) IsBlacklistedOrBackingOff(s spec.ServerName) (*statistics.ServerStatistics, error)

func (*FederationInternalAPI) KeyRing

func (*FederationInternalAPI) LookupMissingEvents

func (a *FederationInternalAPI) LookupMissingEvents(
	ctx context.Context, origin, s spec.ServerName, roomID string,
	missing fclient.MissingEvents, roomVersion gomatrixserverlib.RoomVersion,
) (res fclient.RespMissingEvents, err error)

func (*FederationInternalAPI) LookupServerKeys

func (*FederationInternalAPI) LookupState

func (a *FederationInternalAPI) LookupState(
	ctx context.Context, origin, s spec.ServerName, roomID, eventID string, roomVersion gomatrixserverlib.RoomVersion,
) (res gomatrixserverlib.StateResponse, err error)

func (*FederationInternalAPI) LookupStateIDs

func (a *FederationInternalAPI) LookupStateIDs(
	ctx context.Context, origin, s spec.ServerName, roomID, eventID string,
) (res gomatrixserverlib.StateIDResponse, err error)

func (*FederationInternalAPI) MSC2836EventRelationships

func (*FederationInternalAPI) MakeJoin

func (a *FederationInternalAPI) MakeJoin(
	ctx context.Context, origin, s spec.ServerName, roomID, userID string,
) (res gomatrixserverlib.MakeJoinResponse, err error)

func (*FederationInternalAPI) MarkServersAlive

func (r *FederationInternalAPI) MarkServersAlive(destinations []spec.ServerName)

func (*FederationInternalAPI) P2PAddRelayServers

func (r *FederationInternalAPI) P2PAddRelayServers(
	ctx context.Context,
	request *api.P2PAddRelayServersRequest,
	response *api.P2PAddRelayServersResponse,
) error

P2PAddRelayServers implements api.FederationInternalAPI

func (*FederationInternalAPI) P2PQueryRelayServers

func (r *FederationInternalAPI) P2PQueryRelayServers(
	ctx context.Context,
	request *api.P2PQueryRelayServersRequest,
	response *api.P2PQueryRelayServersResponse,
) error

P2PQueryRelayServers implements api.FederationInternalAPI

func (*FederationInternalAPI) P2PRemoveRelayServers

func (r *FederationInternalAPI) P2PRemoveRelayServers(
	ctx context.Context,
	request *api.P2PRemoveRelayServersRequest,
	response *api.P2PRemoveRelayServersResponse,
) error

P2PRemoveRelayServers implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformBroadcastEDU

func (r *FederationInternalAPI) PerformBroadcastEDU(
	ctx context.Context,
	request *api.PerformBroadcastEDURequest,
	response *api.PerformBroadcastEDUResponse,
) (err error)

PerformServersAlive implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformDirectoryLookup

func (r *FederationInternalAPI) PerformDirectoryLookup(
	ctx context.Context,
	request *api.PerformDirectoryLookupRequest,
	response *api.PerformDirectoryLookupResponse,
) (err error)

PerformLeaveRequest implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformJoin

func (r *FederationInternalAPI) PerformJoin(
	ctx context.Context,
	request *api.PerformJoinRequest,
	response *api.PerformJoinResponse,
)

PerformJoin implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformLeave

func (r *FederationInternalAPI) PerformLeave(
	ctx context.Context,
	request *api.PerformLeaveRequest,
	response *api.PerformLeaveResponse,
) (err error)

PerformLeaveRequest implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformOutboundPeek

func (r *FederationInternalAPI) PerformOutboundPeek(
	ctx context.Context,
	request *api.PerformOutboundPeekRequest,
	response *api.PerformOutboundPeekResponse,
) error

PerformOutboundPeekRequest implements api.FederationInternalAPI

func (*FederationInternalAPI) PerformWakeupServers

func (r *FederationInternalAPI) PerformWakeupServers(
	ctx context.Context,
	request *api.PerformWakeupServersRequest,
	response *api.PerformWakeupServersResponse,
) (err error)

PerformWakeupServers implements api.FederationInternalAPI

func (*FederationInternalAPI) QueryJoinedHostServerNamesInRoom

func (f *FederationInternalAPI) QueryJoinedHostServerNamesInRoom(
	ctx context.Context,
	request *api.QueryJoinedHostServerNamesInRoomRequest,
	response *api.QueryJoinedHostServerNamesInRoomResponse,
) (err error)

QueryJoinedHostServerNamesInRoom implements api.FederationInternalAPI

func (*FederationInternalAPI) QueryKeys

func (a *FederationInternalAPI) QueryKeys(
	ctx context.Context, origin, s spec.ServerName, keys map[string][]string,
) (fclient.RespQueryKeys, error)

func (*FederationInternalAPI) QueryServerKeys

func (*FederationInternalAPI) RoomHierarchies

func (a *FederationInternalAPI) RoomHierarchies(
	ctx context.Context, origin, s spec.ServerName, roomID string, suggestedOnly bool,
) (res fclient.RoomHierarchyResponse, err error)

func (*FederationInternalAPI) SendInvite

SendInvite implements api.FederationInternalAPI

func (*FederationInternalAPI) SendInviteV3

SendInviteV3 implements api.FederationInternalAPI

func (*FederationInternalAPI) SendJoin

Jump to

Keyboard shortcuts

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