Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptureType ¶
type CaptureType string
const ( CaptureTypePcap CaptureType = "pcap" CaptureTypePcapFile CaptureType = "pcap-file" CaptureTypeAfpacket CaptureType = "afpacket" )
type SNICapturer ¶
type SNICapturer struct {
// contains filtered or unexported fields
}
func NewSNICapturer ¶
func NewSNICapturer(captureType CaptureType, ifaceName, bpf string) *SNICapturer
func (*SNICapturer) Output ¶
func (s *SNICapturer) Output() <-chan Signal
type Signal ¶
type SignalType ¶
type SignalType int
const ( SignalTypeProxyProtocolHeader SignalType = iota SignalTypeTLSClientHello SignalType = iota SignalTypeError SignalType = iota )
func (SignalType) String ¶
func (st SignalType) String() string
Click to show internal directories.
Click to hide internal directories.