agenthistory

package
v1.1.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: AGPL-3.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadMarkerPositionResolver added in v1.0.4

type ReadMarkerPositionResolver struct {
	// contains filtered or unexported fields
}

func NewReadMarkerPositionResolver added in v1.0.4

func NewReadMarkerPositionResolver(
	db storage.Database, rsAPI roomserverAPI.SyncRoomserverAPI, ownerMXID string,
) *ReadMarkerPositionResolver

func (*ReadMarkerPositionResolver) ResolveReadMarkerPosition added in v1.0.4

func (r *ReadMarkerPositionResolver) ResolveReadMarkerPosition(
	ctx context.Context, roomID, eventID string,
) (topologicalPosition, streamPosition, originServerTS int64, found bool, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL