Documentation ¶
Index ¶
- func NewCursorCommitter(state CursorState, cursors <-chan string, done <-chan struct{}) *cursorCommitter
- func Run(loglet *options.Loglet) error
- type CursorCommitter
- type CursorState
- type EncodedMessage
- type JournalEntry
- type JournalEntryFilter
- type JournalEntryTransformer
- type JournalFollower
- type Publisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCursorCommitter ¶
func NewCursorCommitter(state CursorState, cursors <-chan string, done <-chan struct{}) *cursorCommitter
Types ¶
type CursorCommitter ¶
type CursorCommitter interface {
Ret() <-chan error
}
type CursorState ¶
func NewCursorState ¶
func NewCursorState(filename string) CursorState
type EncodedMessage ¶
type JournalEntry ¶
type JournalEntryFilter ¶
type JournalEntryFilter interface { Ret() <-chan error Entries() <-chan *JournalEntry }
func NewJournalEntryFilter ¶
func NewJournalEntryFilter(loglet *options.Loglet, unfilteredEntries <-chan *JournalEntry, done <-chan struct{}) (JournalEntryFilter, error)
type JournalEntryTransformer ¶
type JournalEntryTransformer interface { Ret() <-chan error Messages() <-chan *EncodedMessage }
func NewJournalEntryTransformer ¶
func NewJournalEntryTransformer(loglet *options.Loglet, entries <-chan *JournalEntry, done <-chan struct{}) JournalEntryTransformer
type JournalFollower ¶
type JournalFollower interface { Ret() <-chan error Entries() <-chan *JournalEntry }
func NewJournalFollower ¶
func NewJournalFollower(cursor string, done <-chan struct{}) JournalFollower
Source Files ¶
Click to show internal directories.
Click to hide internal directories.