Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDevice = "en0" DefaultPort = 80 SnapLen = 1600 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler func(*Transaction, error)
type Listener ¶
type Listener func(txn *Transaction) (*Transaction, error)
type Sniffer ¶
type Sniffer struct {
// contains filtered or unexported fields
}
func (*Sniffer) SetErrorHandler ¶
func (s *Sniffer) SetErrorHandler(eh ErrorHandler)
Click to show internal directories.
Click to hide internal directories.