package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev

# Functions

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.
TailFile returns last n lines of the passed in file.

# Variables

ErrNonPositiveLinesNumber is an error returned if the lines number was negative.

# Interfaces

SizeReaderAt is an interface used to get a ReaderAt as well as the size of the underlying reader.