Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
// CheckFilePath checks if the file path is supported by the handler.
CheckFilePath(filePath string) bool
// GetStartTimeEndTime computes the start and end time of the log file.
GetStartTimeEndTime(filePath string) (*time.Time, *time.Time, error)
// GetFileSize returns the file size.
GetFileSize(filePath string) (int64, error)
// SendRuleItems sends rule items to the rule engine.
SendRuleItems(filePath string, activeTopics mapset.Set[string], ruleItemChan chan rule_engine.RuleItem)
}
Interface defines the interface for handling different file types.
func NewLogHandler ¶
func NewLogHandler() Interface
func NewMcapHandler ¶
func NewMcapHandler() Interface
func NewRos1Handler ¶
func NewRos1Handler() Interface
Click to show internal directories.
Click to hide internal directories.