We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9b5f59 + 3dbc52d commit 4484981Copy full SHA for 4484981
sdjournal/read.go
@@ -29,8 +29,9 @@ var (
29
30
// JournalReaderConfig represents options to drive the behavior of a JournalReader.
31
type JournalReaderConfig struct {
32
- // The Since and NumFromTail options are mutually exclusive and determine
33
- // where the reading begins within the journal.
+ // The Since, NumFromTail and Cursor options are mutually exclusive and
+ // determine where the reading begins within the journal. The order in which
34
+ // options are written is exactly the order of precedence.
35
Since time.Duration // start relative to a Duration from now
36
NumFromTail uint64 // start relative to the tail
37
Cursor string // start relative to the cursor
0 commit comments