tail

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL