Documentation
¶
Index ¶
Constants ¶
View Source
const Type analyzer.Type = "tcpconnectanalyzer"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ChannelSize int `mapstructure:"channel_size"` WaitEventSecond int `mapstructure:"wait_event_second"` NeedProcessInfo bool `mapstructure:"need_process_info"` }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type TcpConnectAnalyzer ¶
type TcpConnectAnalyzer struct {
// contains filtered or unexported fields
}
func (*TcpConnectAnalyzer) ConsumableEvents ¶
func (a *TcpConnectAnalyzer) ConsumableEvents() []string
func (*TcpConnectAnalyzer) ConsumeEvent ¶
func (a *TcpConnectAnalyzer) ConsumeEvent(event *model.KindlingEvent) error
ConsumeEvent gets the event from the previous component
func (*TcpConnectAnalyzer) Shutdown ¶
func (a *TcpConnectAnalyzer) Shutdown() error
Shutdown cleans all the resources used by the analyzer
func (*TcpConnectAnalyzer) Start ¶
func (a *TcpConnectAnalyzer) Start() error
Start initializes the analyzer
func (*TcpConnectAnalyzer) Type ¶
func (a *TcpConnectAnalyzer) Type() analyzer.Type
Type returns the type of the analyzer
Click to show internal directories.
Click to hide internal directories.