Documentation ¶
Index ¶
Constants ¶
View Source
const MSigningKeyUpdate = "m.signing_key_update" // TODO: move to gomatrixserverlib
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationReceiptData ¶
type FederationReceiptMRead ¶
type FederationReceiptMRead struct {
User map[string]FederationReceiptData `json:"m.read"`
}
type InboundPeek ¶
type InboundPeek struct { PeekID string RoomID string ServerName gomatrixserverlib.ServerName CreationTimestamp int64 RenewedTimestamp int64 RenewalInterval int64 }
tracks peeks other servers are performing on us over federation
type JoinedHost ¶
type JoinedHost struct { // The MemberEventID of a m.room.member join event. MemberEventID string // The domain part of the state key of the m.room.member join event ServerName gomatrixserverlib.ServerName }
A JoinedHost is a server that is joined to a matrix room.
type OutboundPeek ¶
type OutboundPeek struct { PeekID string RoomID string ServerName gomatrixserverlib.ServerName CreationTimestamp int64 RenewedTimestamp int64 RenewalInterval int64 }
tracks peeks we're performing on another server over federation
type Presence ¶
type Presence struct {
Push []PresenceContent `json:"push"`
}
type PresenceContent ¶
type ReceiptTS ¶
type ReceiptTS struct {
TS gomatrixserverlib.Timestamp `json:"ts"`
}
type ServerNames ¶
type ServerNames []gomatrixserverlib.ServerName
func (ServerNames) Len ¶
func (s ServerNames) Len() int
func (ServerNames) Less ¶
func (s ServerNames) Less(i, j int) bool
func (ServerNames) Swap ¶
func (s ServerNames) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.