mfreader

package
v1.3.4-rc4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiFileLineReader

type MultiFileLineReader struct {
	// contains filtered or unexported fields
}

func NewMultiFileLineReader

func NewMultiFileLineReader(files ...string) (*MultiFileLineReader, error)

func (*MultiFileLineReader) GetLastRecordPtr

func (m *MultiFileLineReader) GetLastRecordPtr() int64

func (*MultiFileLineReader) GetPercent

func (m *MultiFileLineReader) GetPercent() float64

func (*MultiFileLineReader) Next

func (m *MultiFileLineReader) Next() bool

func (*MultiFileLineReader) SetCurrFileIndex

func (m *MultiFileLineReader) SetCurrFileIndex(index int)

func (*MultiFileLineReader) SetRecoverPtr

func (m *MultiFileLineReader) SetRecoverPtr(file string, ptr int64) error

SetRecoverPtr 设置扫描文件对应的指针位置

func (*MultiFileLineReader) Text

func (m *MultiFileLineReader) Text() string

Jump to

Keyboard shortcuts

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