Documentation ¶ Index ¶ Variables type Reader func NewReader(filepath string, pos int64) (*Reader, error) func (r *Reader) Close() error func (r *Reader) File() *os.File func (r *Reader) FileInfo() os.FileInfo func (r *Reader) Pos() int64 func (r *Reader) Read(p []byte) (int, error) func (r *Reader) Tell() int64 Constants ¶ This section is empty. Variables ¶ View Source var ( ErrFileRemoved = errors.New("file removed") ErrFileRenamed = errors.New("file renamed") ) Functions ¶ This section is empty. Types ¶ type Reader ¶ type Reader struct { // contains filtered or unexported fields } func NewReader ¶ func NewReader(filepath string, pos int64) (*Reader, error) func (*Reader) Close ¶ func (r *Reader) Close() error func (*Reader) File ¶ func (r *Reader) File() *os.File func (*Reader) FileInfo ¶ func (r *Reader) FileInfo() os.FileInfo func (*Reader) Pos ¶ func (r *Reader) Pos() int64 func (*Reader) Read ¶ func (r *Reader) Read(p []byte) (int, error) func (*Reader) Tell ¶ func (r *Reader) Tell() int64 Source Files ¶ View all Source files tail.go Click to show internal directories. Click to hide internal directories.