collection

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseFullPacket added in v1.0.1

func ReleaseFullPacket(fullPkt *def.FullPacket)

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

type CollectorMgr

type CollectorMgr struct {
	// contains filtered or unexported fields
}

func NewCollectorMgr

func NewCollectorMgr(opt def.CollectorOption) (*CollectorMgr, error)

func (*CollectorMgr) Collect

func (t *CollectorMgr) Collect(detectInfo *def.DetectionInfo) error

func (*CollectorMgr) PopFullPackets

func (t *CollectorMgr) PopFullPackets(count int) ([]*def.FullPacket, error)

func (*CollectorMgr) Start

func (t *CollectorMgr) Start() error

func (*CollectorMgr) Stop

func (t *CollectorMgr) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL