Package tailfile provides helper functions to read the nth lines of any ReadSeeker.
This section is empty.
ErrNonPositiveLinesNumber is an error returned if the lines number was negative.
func NewTailReader ¶
NewTailReader scopes the passed in reader to just the last N lines passed in
NewTailReaderWithDelimiter scopes the passed in reader to just the last N lines passed in In this case a "line" is defined by the passed in delimiter.
Delimiter lengths should be generally small, no more than 12 bytes