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