Versions in this module Expand all Collapse all v0 v0.1.1 Sep 1, 2021 v0.1.0 May 8, 2021 Changes in this version + var PrinterWaitGroup sync.WaitGroup + var WaitGroup sync.WaitGroup + type ConnectionHandler interface + type ConnectionID struct + type ConnectionKey struct + type Endpoint struct + func (p Endpoint) String() string + type HTTPConnectionHandler struct + Option *Option + Printer *Printer + type HTTPTrafficHandler struct + type IntRange struct + End int + Start int + func NewIntRange(start int, end int) IntRange + func (r *IntRange) Contains(value int) bool + type IntSet struct + func NewIntSet(ranges ...IntRange) *IntSet + func ParseIntSet(str string) (*IntSet, error) + func (s *IntSet) Contains(value int) bool + func (s *IntSet) String() string + type NetworkStream struct + func (stream *NetworkStream) Close() error + func (stream *NetworkStream) Read(p []byte) (n int, err error) + type Option struct + Curl bool + Device string + DumpBody bool + File string + Force bool + Host string + Idle time.Duration + Ip string + Level string + Output string + Port uint + Pretty bool + Status string + StatusSet *IntSet + Uri string + type Printer struct + OutputQueue chan *netevent.HTTPNetData + func NewPrinter(matchChan chan *netevent.HTTPNetData) *Printer + func (p *Printer) Finish() + func (p *Printer) Send(data *netevent.HTTPNetData) + type ReceiveWindow struct + type TCPAssembler struct + FilterIP string + FilterPort uint16 + func NewTCPAssembler(connectionHandler ConnectionHandler) *TCPAssembler + func (assembler *TCPAssembler) Assemble(flow gopacket.Flow, tcp *layers.TCP, timestamp time.Time) + func (assembler *TCPAssembler) FinishAll() + func (assembler *TCPAssembler) FlushOlderThan(time time.Time) + type TCPConnection struct