Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationAPIPresenceProducer ¶
type FederationAPIPresenceProducer struct {
Topic string
JetStream nats.JetStreamContext
}
FederationAPIPresenceProducer produces events for the federation API server to consume
func (*FederationAPIPresenceProducer) SendPresence ¶
type UserAPIReadProducer ¶
type UserAPIReadProducer struct {
Topic string
JetStream nats.JetStreamContext
}
UserAPIProducer produces events for the user API server to consume
func (*UserAPIReadProducer) SendReadUpdate ¶
func (p *UserAPIReadProducer) SendReadUpdate(userID, roomID string, readPos, fullyReadPos types.StreamPosition) error
SendData sends account data to the user API server
type UserAPIStreamEventProducer ¶
type UserAPIStreamEventProducer struct {
Topic string
JetStream nats.JetStreamContext
}
UserAPIProducer produces events for the user API server to consume
func (*UserAPIStreamEventProducer) SendStreamEvent ¶
func (p *UserAPIStreamEventProducer) SendStreamEvent(roomID string, event *gomatrixserverlib.HeaderedEvent, pos types.StreamPosition) error
SendData sends account data to the user API server
Click to show internal directories.
Click to hide internal directories.