Documentation ¶
Index ¶
- type EDUServerInputAPI
- func (t *EDUServerInputAPI) InputCrossSigningKeyUpdate(ctx context.Context, request *api.InputCrossSigningKeyUpdateRequest, ...) error
- func (t *EDUServerInputAPI) InputReceiptEvent(ctx context.Context, request *api.InputReceiptEventRequest, ...) error
- func (t *EDUServerInputAPI) InputSendToDeviceEvent(ctx context.Context, request *api.InputSendToDeviceEventRequest, ...) error
- func (t *EDUServerInputAPI) InputTypingEvent(ctx context.Context, request *api.InputTypingEventRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EDUServerInputAPI ¶
type EDUServerInputAPI struct { // Cache to store the current typing members in each room. Cache *cache.EDUCache // The kafka topic to output new typing events to. OutputTypingEventTopic string // The kafka topic to output new send to device events to. OutputSendToDeviceEventTopic string // The kafka topic to output new receipt events to OutputReceiptEventTopic string // The kafka topic to output new key change events to OutputKeyChangeEventTopic string // kafka producer JetStream nats.JetStreamContext // Internal user query API UserAPI userapi.UserInternalAPI // our server name ServerName gomatrixserverlib.ServerName }
EDUServerInputAPI implements api.EDUServerInputAPI
func (*EDUServerInputAPI) InputCrossSigningKeyUpdate ¶ added in v0.5.0
func (t *EDUServerInputAPI) InputCrossSigningKeyUpdate( ctx context.Context, request *api.InputCrossSigningKeyUpdateRequest, response *api.InputCrossSigningKeyUpdateResponse, ) error
InputCrossSigningKeyUpdate implements api.EDUServerInputAPI
func (*EDUServerInputAPI) InputReceiptEvent ¶ added in v0.3.0
func (t *EDUServerInputAPI) InputReceiptEvent( ctx context.Context, request *api.InputReceiptEventRequest, response *api.InputReceiptEventResponse, ) error
InputReceiptEvent implements api.EDUServerInputAPI TODO: Intelligently batch requests sent by the same user (e.g wait a few milliseconds before emitting output events)
func (*EDUServerInputAPI) InputSendToDeviceEvent ¶
func (t *EDUServerInputAPI) InputSendToDeviceEvent( ctx context.Context, request *api.InputSendToDeviceEventRequest, response *api.InputSendToDeviceEventResponse, ) error
InputTypingEvent implements api.EDUServerInputAPI
func (*EDUServerInputAPI) InputTypingEvent ¶
func (t *EDUServerInputAPI) InputTypingEvent( ctx context.Context, request *api.InputTypingEventRequest, response *api.InputTypingEventResponse, ) error
InputTypingEvent implements api.EDUServerInputAPI
Click to show internal directories.
Click to hide internal directories.