Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOReader ¶
type IOReader struct {
// contains filtered or unexported fields
}
func NewIOReader ¶
type JSONParser ¶
type JSONParser struct{}
func (JSONParser) Parse ¶
func (p JSONParser) Parse(line string) (ParsedLog, ResultType)
type ParsedLog ¶
func ParseUsingAnyParser ¶
type Parser ¶
type Parser interface {
Parse(line string) (ParsedLog, ResultType)
}
type RegExParser ¶
type RegExParser struct { Expression *regexp.Regexp TimeLayout string GroupTimestamp int GroupLevel int }
func (RegExParser) Parse ¶
func (p RegExParser) Parse(line string) (ParsedLog, ResultType)
type ResultType ¶
type ResultType byte
const ( ResultNoMatch ResultType = iota ResultMatch ResultMatchMayContinue )
Click to show internal directories.
Click to hide internal directories.