Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenOptions ¶
type ListenOptions struct {
Device, PcapFile string
SnapLen int32
Promiscuous bool
BPFFilter string
Timeout time.Duration
CaptureLayers []gopacket.LayerType
}
func (*ListenOptions) Validate ¶
func (o *ListenOptions) Validate() (*ListenOptions, error)
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) ExportStats ¶
type WorkerOptions ¶
type WorkerOptions struct { ListenOptions AssembleTypes []assemble.AssembleType }
func (*WorkerOptions) Validate ¶
func (o *WorkerOptions) Validate() (*WorkerOptions, error)
Click to show internal directories.
Click to hide internal directories.