Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
DB storage.Database
RSAPI roomserverAPI.SyncRoomserverAPI
UserID string
}
func NewReader ¶
func NewReader(db storage.Database, rsAPI roomserverAPI.SyncRoomserverAPI, userID string) *Reader
func (*Reader) ListOrdinaryMessages ¶
func (r *Reader) ListOrdinaryMessages(ctx context.Context, roomID string, page matrixhistory.Page) (matrixhistory.MessagePageResult, error)
Click to show internal directories.
Click to hide internal directories.