Versions in this module Expand all Collapse all v0 v0.1.1 Jun 3, 2026 Changes in this version + type Config struct + BufferSize int + Follow bool + Location *Location + Logger *zap.Logger + NotifyTimeout time.Duration + Tracker Tracker + type Handler func(ctx context.Context, l *Line) error + type Line struct + Data []byte + Offset int64 + func (l *Line) Location() Location + type Location struct + Offset int64 + Whence int + type Tailer struct + func File(filename string, cfg Config) *Tailer + func (t *Tailer) Tail(ctx context.Context, h Handler) error + type Tracker interface + func NewTracker(log *zap.Logger) Tracker