Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LTSVReadOpt ¶
type LTSVReader ¶
type LTSVReader struct {
// contains filtered or unexported fields
}
func NewLTSVReader ¶
func NewLTSVReader(r io.Reader, opt LTSVReadOpt) (*LTSVReader, error)
func (*LTSVReader) Parse ¶
func (r *LTSVReader) Parse(entry *LogEntry) (*LogEntry, error)
Parse parses one line of log file into LogEntry struct For reducing memory allocation, you can pass a LogEntry to record to reuse the given one.
func (*LTSVReader) Read ¶
func (r *LTSVReader) Read() bool
Click to show internal directories.
Click to hide internal directories.