mirror of
https://github.com/matrix-org/dendrite
synced 2024-06-01 20:18:56 +02:00
41c6a3737e
* A kafkaesque room event consumer for the roomserver. Implement the main input loop for the roomserver. It will receive events from a kafkaesque event source and track where it is in the stream. It currently does nothing with the events it consumes.
11 lines
296 B
Go
11 lines
296 B
Go
// Package types provides the types that are used internally within the roomserver.
|
|
package types
|
|
|
|
// A PartitionOffset is the offset into a partition of the input log.
|
|
type PartitionOffset struct {
|
|
// The ID of the partition.
|
|
Partition int32
|
|
// The offset into the partition.
|
|
Offset int64
|
|
}
|