mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
InvalidInput is unused, so remove it for now
This commit is contained in:
parent
eda75719b7
commit
72dc6de928
|
|
@ -10,7 +10,7 @@ import (
|
||||||
// A Database is used to store room events and stream offsets.
|
// A Database is used to store room events and stream offsets.
|
||||||
type Database struct {
|
type Database struct {
|
||||||
statements statements
|
statements statements
|
||||||
db *sql.DB
|
db *sql.DB
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open a postgres database.
|
// Open a postgres database.
|
||||||
|
|
|
||||||
|
|
@ -8,17 +8,3 @@ type PartitionOffset struct {
|
||||||
// The offset into the partition.
|
// The offset into the partition.
|
||||||
Offset int64
|
Offset int64
|
||||||
}
|
}
|
||||||
|
|
||||||
// An InvalidInput is a problem that was encountered when processing input.
|
|
||||||
type InvalidInput struct {
|
|
||||||
// The topic the input was read from.
|
|
||||||
Topic string
|
|
||||||
// The partition the input was read from.
|
|
||||||
Partition int32
|
|
||||||
// The offset in the partition the input was read from.
|
|
||||||
Offset int64
|
|
||||||
// The value that errored.
|
|
||||||
Value []byte
|
|
||||||
// The error itself
|
|
||||||
Error string
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue