Versions in this module Expand all Collapse all v0 v0.0.1 Apr 6, 2023 Changes in this version + func Strategies() map[string]PacketsCaptureStrategy + type AFPacketStrategy struct + func (s *AFPacketStrategy) Destroy() + func (s *AFPacketStrategy) New(c *config.Config) ([]PacketDataSource, error) + func (s *AFPacketStrategy) PacketStats() (received uint64, dropped uint64) + type PCAPStrategy struct + func (s *PCAPStrategy) Destroy() + func (s *PCAPStrategy) New(c *config.Config) ([]PacketDataSource, error) + func (s *PCAPStrategy) PacketStats() (received uint64, dropped uint64) + type PFringsStrategy struct + func (s *PFringsStrategy) Destroy() + func (s *PFringsStrategy) New(c *config.Config) ([]PacketDataSource, error) + func (s *PFringsStrategy) PacketStats() (received uint64, dropped uint64) + type PacketDataSource interface + type PacketsCaptureStrategy interface + Destroy func() + New func(c *config.Config) ([]PacketDataSource, error) + PacketStats func() (received uint64, dropped uint64)