Versions in this module Expand all Collapse all v0 v0.2.8 Jun 28, 2019 v0.2.7 Apr 8, 2019 Changes in this version + const DirectoryNotFound + const FileNotFound + const NotSpecified + const WinFileRemoved + func NewFile(orig *os.File, newPath string) *os.File — darwin/amd64, linux/amd64 + func NewLineReader() *lineReader + type Dir struct — darwin/amd64, linux/amd64, windows/amd64 + func (d *Dir) Path() string + type Error interface + Cause func() error + Type func() ErrorType + func NewError(errorType ErrorType, cause error, msg string) Error + func NewErrorf(errorType ErrorType, cause error, format string, a ...interface{}) Error + type ErrorType int + type File struct — windows/amd64 + func NewFile(orig *File, newPath string) *File + func (f *File) CheckMoved() (bool, error) + func (f *File) CheckTruncated() (bool, Error) + func (f *File) Close() error + func (f *File) Fd() uintptr + func (f *File) Name() string + func (f *File) Read(b []byte) (int, error) + func (f *File) SameFile(other *File) bool + func (f *File) Seek(offset int64, whence int) (int64, Error) + type FileTailer interface + Close func() + Errors func() chan Error + Lines func() chan Line + func RunFileTailer(globs []glob.Glob, readall bool, failOnMissingFile bool, ...) (FileTailer, error) + func RunPollingFileTailer(globs []glob.Glob, readall bool, failOnMissingFile bool, ...) (FileTailer, error) + type Kevent syscall.Kevent_t — darwin/amd64 + func (event Kevent) String() string + type Line struct + File string + Line string