internal

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

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, s gomatrixserverlib.ServerName, roomID string, limit int, eventIDs []string,
) (res gomatrixserverlib.Transaction, err error)

func (*FederationInternalAPI) ClaimKeys

func (*FederationInternalAPI) FetcherName

func (s *FederationInternalAPI) FetcherName() string

func (*FederationInternalAPI) GetEvent

func (*FederationInternalAPI) GetEventAuth

func (*FederationInternalAPI) GetUserDevices

func (*FederationInternalAPI) KeyRing

func (*FederationInternalAPI) LookupMissingEvents

func (*FederationInternalAPI) LookupState

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

func (*FederationInternalAPI) LookupStateIDs

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

func (*FederationInternalAPI) MSC2946Spaces

func (a *FederationInternalAPI) MSC2946Spaces(
	ctx context.Context, s gomatrixserverlib.ServerName, roomID string, suggestedOnly bool,
) (res gomatrixserverlib.MSC2946SpacesResponse, err error)

func (*FederationInternalAPI) MarkServersAlive

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

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) PerformInvite

func (r *FederationInternalAPI) PerformInvite(
	ctx context.Context,
	request *api.PerformInviteRequest,
	response *api.PerformInviteResponse,
) (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) QueryJoinedHostServerNamesInRoom

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

QueryJoinedHostServerNamesInRoom implements api.FederationInternalAPI

func (*FederationInternalAPI) QueryKeys

func (*FederationInternalAPI) QueryServerKeys

Jump to

Keyboard shortcuts

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