summaryrefslogtreecommitdiff
path: root/internal/io/fs/filereader.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/io/fs/filereader.go')
-rw-r--r--internal/io/fs/filereader.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/io/fs/filereader.go b/internal/io/fs/filereader.go
index e27d2a7..ee5a8ce 100644
--- a/internal/io/fs/filereader.go
+++ b/internal/io/fs/filereader.go
@@ -13,6 +13,10 @@ import (
type FileReader interface {
Start(ctx context.Context, ltx lcontext.LContext, lines chan<- *line.Line,
re regex.Regex) error
+ StartWithProcessor(ctx context.Context, ltx lcontext.LContext, processor line.Processor,
+ re regex.Regex) error
+ StartWithProcessorOptimized(ctx context.Context, ltx lcontext.LContext, processor line.Processor,
+ re regex.Regex) error
FilePath() string
Retry() bool
}