Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AaLog ¶
type AaLog interface { // Open the event log. state points to the last successfully read event // in this event log. Read will resume from the next record. To start reading // from the first event specify a zero-valued AaLogState. Open(state checkpoint.AaLogState) error // Read records from the log. If io.EOF is returned you should stop reading // and close the log. Read() ([]Record, error) // Close the log. It should not be re-opened after closing. Close() error // Name returns the log's name. Name() string // State returns the most recent AaLogState. State() checkpoint.AaLogState }
type Record ¶
type Record struct { LogRecord Offset checkpoint.AaLogState // Position of the record within its source stream. }
Click to show internal directories.
Click to hide internal directories.