Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultLogPatterns = 64 DefaultMaxSourceCount = 60 DefaultMaxLoLength = 300 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzedLog ¶
type Analyzer ¶
type Analyzer struct {
Logs []*AnalyzedLog
MaxLogLength int
MaxPatternCount int
}
Analyzer This struct needs to be encoded by gob. So all fields are public.
func NewAnalyzer ¶
func (*Analyzer) AnalyzedLogs ¶
func (a *Analyzer) AnalyzedLogs() []*AnalyzedLog
type Known ¶
type Known struct {
Patterns []*KnownPatternStat `json:"patterns,omitempty"`
}
type KnownPatternStat ¶
type SourceWord ¶
type Unknown ¶
type Unknown struct {
AnalyzedLogs []*AnalyzedLog `json:"analyzedLogs,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.