Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogAnalyzer ¶
type LogAnalyzer struct { EsClient *elastic.ESClient KafkaConsumer *kafka.Consumer LogParsers map[string]parser.LogParser }
LogAnalyzer 日志解析服务
func NewLogAnalyzer ¶
func NewLogAnalyzer(config *config.AppConfig) (*LogAnalyzer, error)
func (*LogAnalyzer) Start ¶
func (a *LogAnalyzer) Start() error
Click to show internal directories.
Click to hide internal directories.