Documentation ¶
Index ¶
- type Federation
- func (fed *Federation) LookupAvatarURL(destination string, userID string) (external.GetAvatarURLResponse, error)
- func (fed *Federation) LookupDisplayName(destination string, userID string) (external.GetDisplayNameResponse, error)
- func (fed *Federation) LookupProfile(destination string, userID string) (external.GetProfileResponse, error)
- func (fed *Federation) LookupRoomAlias(destination string, roomAlias string) (external.GetDirectoryRoomAliasResponse, error)
- func (fed *Federation) LookupState(destination string, roomID string) (gomatrixserverlib.RespState, error)
- func (fed *Federation) LookupUserInfo(destination string, userID string) (external.GetUserInfoResponse, error)
- func (fed *Federation) MakeJoin(destination string, roomID, userID string, ver []string) (gomatrixserverlib.RespMakeJoin, error)
- func (fed *Federation) MakeLeave(destination string, roomID, userID string) (gomatrixserverlib.RespMakeLeave, error)
- func (fed *Federation) SendInvite(destination string, event gomatrixserverlib.Event) (gomatrixserverlib.RespInvite, error)
- func (fed *Federation) SendJoin(destination string, roomID, eventID string, event gomatrixserverlib.Event) (gomatrixserverlib.RespSendJoin, error)
- func (fed *Federation) SendLeave(destination string, roomID, eventID string, event gomatrixserverlib.Event) (gomatrixserverlib.RespSendLeave, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Federation ¶
type Federation struct {
// contains filtered or unexported fields
}
func NewFederation ¶
func NewFederation( cfg *config.Dendrite, rpcClient *common.RpcClient) *Federation
func (*Federation) LookupAvatarURL ¶
func (fed *Federation) LookupAvatarURL( destination string, userID string) (external.GetAvatarURLResponse, error)
func (*Federation) LookupDisplayName ¶
func (fed *Federation) LookupDisplayName( destination string, userID string) (external.GetDisplayNameResponse, error)
func (*Federation) LookupProfile ¶
func (fed *Federation) LookupProfile( destination string, userID string) (external.GetProfileResponse, error)
func (*Federation) LookupRoomAlias ¶
func (fed *Federation) LookupRoomAlias( destination string, roomAlias string) (external.GetDirectoryRoomAliasResponse, error)
func (*Federation) LookupState ¶
func (fed *Federation) LookupState( destination string, roomID string, ) (gomatrixserverlib.RespState, error)
func (*Federation) LookupUserInfo ¶
func (fed *Federation) LookupUserInfo( destination string, userID string) (external.GetUserInfoResponse, error)
func (*Federation) MakeJoin ¶
func (fed *Federation) MakeJoin( destination string, roomID, userID string, ver []string, ) (gomatrixserverlib.RespMakeJoin, error)
func (*Federation) MakeLeave ¶
func (fed *Federation) MakeLeave( destination string, roomID, userID string, ) (gomatrixserverlib.RespMakeLeave, error)
func (*Federation) SendInvite ¶
func (fed *Federation) SendInvite( destination string, event gomatrixserverlib.Event, ) (gomatrixserverlib.RespInvite, error)
func (*Federation) SendJoin ¶
func (fed *Federation) SendJoin( destination string, roomID, eventID string, event gomatrixserverlib.Event, ) (gomatrixserverlib.RespSendJoin, error)
func (*Federation) SendLeave ¶
func (fed *Federation) SendLeave( destination string, roomID, eventID string, event gomatrixserverlib.Event, ) (gomatrixserverlib.RespSendLeave, error)
Click to show internal directories.
Click to hide internal directories.