Documentation
¶
Index ¶
- Constants
- func NewNetDetector(cfg any, consumers []consumer.Consumer) detector.Detector
- type Config
- type NetDetector
- func (n *NetDetector) ConsumeChanEvents()
- func (n *NetDetector) ConsumeEvent(e *model.SpyEvent) error
- func (n *NetDetector) Init(cfg any) error
- func (n *NetDetector) Name() string
- func (n *NetDetector) OwnedEvents() []string
- func (n *NetDetector) ProcessEvent(e *model.SpyEvent) error
- func (n *NetDetector) Start() error
- func (n *NetDetector) Stop() error
- type Session
Constants ¶
View Source
const (
DetectorNetType string = "detector_net"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetDetector ¶
type NetDetector struct {
// contains filtered or unexported fields
}
func (*NetDetector) ConsumeChanEvents ¶
func (n *NetDetector) ConsumeChanEvents()
func (*NetDetector) Init ¶
func (n *NetDetector) Init(cfg any) error
func (*NetDetector) Name ¶
func (n *NetDetector) Name() string
func (*NetDetector) ProcessEvent ¶
func (n *NetDetector) ProcessEvent(e *model.SpyEvent) error
func (*NetDetector) Start ¶
func (n *NetDetector) Start() error
func (*NetDetector) Stop ¶
func (n *NetDetector) Stop() error
Click to show internal directories.
Click to hide internal directories.