Versions in this module Expand all Collapse all v0 v0.14.1 Jan 16, 2025 v0.14.0 Dec 18, 2024 Changes in this version + type ClientFederationAPI interface + QueryJoinedHostServerNamesInRoom func(ctx context.Context, request *QueryJoinedHostServerNamesInRoomRequest, ...) error + type FederationClientError struct + Blacklisted bool + Code int + Err string + RetryAfter time.Duration + func (e FederationClientError) Error() string + type FederationInternalAPI interface + LookupServerKeys func(ctx context.Context, s spec.ServerName, ...) ([]gomatrixserverlib.ServerKeys, error) + MSC2836EventRelationships func(ctx context.Context, origin, dst spec.ServerName, ...) (res fclient.MSC2836EventRelationshipsResponse, err error) + PerformBroadcastEDU func(ctx context.Context, request *PerformBroadcastEDURequest, ...) error + PerformWakeupServers func(ctx context.Context, request *PerformWakeupServersRequest, ...) error + QueryServerKeys func(ctx context.Context, request *QueryServerKeysRequest, ...) error + type InputPublicKeysRequest struct + Keys map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.PublicKeyLookupResult + type InputPublicKeysResponse struct + type KeyserverFederationAPI interface + ClaimKeys func(ctx context.Context, origin, s spec.ServerName, ...) (res fclient.RespClaimKeys, err error) + GetUserDevices func(ctx context.Context, origin, s spec.ServerName, userID string) (res fclient.RespUserDevices, err error) + QueryKeys func(ctx context.Context, origin, s spec.ServerName, keys map[string][]string) (res fclient.RespQueryKeys, err error) + type P2PAddRelayServersRequest struct + RelayServers []spec.ServerName + Server spec.ServerName + type P2PAddRelayServersResponse struct + type P2PFederationAPI interface + P2PAddRelayServers func(ctx context.Context, request *P2PAddRelayServersRequest, ...) error + P2PQueryRelayServers func(ctx context.Context, request *P2PQueryRelayServersRequest, ...) error + P2PRemoveRelayServers func(ctx context.Context, request *P2PRemoveRelayServersRequest, ...) error + type P2PQueryRelayServersRequest struct + Server spec.ServerName + type P2PQueryRelayServersResponse struct + RelayServers []spec.ServerName + type P2PRemoveRelayServersRequest struct + RelayServers []spec.ServerName + Server spec.ServerName + type P2PRemoveRelayServersResponse struct + type PerformBroadcastEDURequest struct + type PerformBroadcastEDUResponse struct + type PerformDirectoryLookupRequest struct + RoomAlias string + ServerName spec.ServerName + type PerformDirectoryLookupResponse struct + RoomID string + ServerNames []spec.ServerName + type PerformInviteRequest struct + Event *rstypes.HeaderedEvent + InviteRoomState []gomatrixserverlib.InviteStrippedState + RoomVersion gomatrixserverlib.RoomVersion + type PerformInviteResponse struct + Event *rstypes.HeaderedEvent + type PerformJoinRequest struct + Content map[string]interface{} + RoomID string + ServerNames types.ServerNames + Unsigned map[string]interface{} + UserID string + type PerformJoinResponse struct + JoinedVia spec.ServerName + LastError *gomatrix.HTTPError + type PerformLeaveRequest struct + RoomID string + ServerNames types.ServerNames + UserID string + type PerformLeaveResponse struct + type PerformOutboundPeekRequest struct + RoomID string + ServerNames types.ServerNames + type PerformOutboundPeekResponse struct + LastError *gomatrix.HTTPError + type PerformWakeupServersRequest struct + ServerNames []spec.ServerName + type PerformWakeupServersResponse struct + type QueryJoinedHostServerNamesInRoomRequest struct + ExcludeBlacklisted bool + ExcludeSelf bool + RoomID string + type QueryJoinedHostServerNamesInRoomResponse struct + ServerNames []spec.ServerName + type QueryPublicKeysRequest struct + Requests map[gomatrixserverlib.PublicKeyLookupRequest]spec.Timestamp + type QueryPublicKeysResponse struct + Results map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.PublicKeyLookupResult + type QueryServerKeysRequest struct + KeyIDToCriteria map[gomatrixserverlib.KeyID]gomatrixserverlib.PublicKeyNotaryQueryCriteria + ServerName spec.ServerName + func (q *QueryServerKeysRequest) KeyIDs() []gomatrixserverlib.KeyID + type QueryServerKeysResponse struct + ServerKeys []gomatrixserverlib.ServerKeys + type RoomserverFederationAPI interface + GetEvent func(ctx context.Context, origin, s spec.ServerName, eventID string) (res gomatrixserverlib.Transaction, err error) + GetEventAuth func(ctx context.Context, origin, s spec.ServerName, ...) (res fclient.RespEventAuth, err error) + KeyRing func() *gomatrixserverlib.KeyRing + LookupMissingEvents func(ctx context.Context, origin, s spec.ServerName, roomID string, ...) (res fclient.RespMissingEvents, err error) + PerformDirectoryLookup func(ctx context.Context, request *PerformDirectoryLookupRequest, ...) error + PerformJoin func(ctx context.Context, request *PerformJoinRequest, ...) + PerformLeave func(ctx context.Context, request *PerformLeaveRequest, ...) error + PerformOutboundPeek func(ctx context.Context, request *PerformOutboundPeekRequest, ...) error + QueryJoinedHostServerNamesInRoom func(ctx context.Context, request *QueryJoinedHostServerNamesInRoomRequest, ...) error + RoomHierarchies func(ctx context.Context, origin, dst spec.ServerName, roomID string, ...) (res fclient.RoomHierarchyResponse, err error) + SendInvite func(ctx context.Context, event gomatrixserverlib.PDU, ...) (gomatrixserverlib.PDU, error) + SendInviteV3 func(ctx context.Context, event gomatrixserverlib.ProtoEvent, invitee spec.UserID, ...) (gomatrixserverlib.PDU, error)