Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record contains a single recorded packet.
func NewRecord ¶
func NewRecord(data []byte, direction TrafficDirection) Record
func (*Record) Direction ¶
func (r *Record) Direction() TrafficDirection
type Records ¶
type Records struct {
// contains filtered or unexported fields
}
Records contains a series of recorded packets.
func NewRecords ¶
func NewRecords() Records
func (*Records) Append ¶
func (r *Records) Append(data []byte, direction TrafficDirection)
type TrafficDirection ¶
type TrafficDirection int
const ( Ingress TrafficDirection = 0 Egress TrafficDirection = 1 )
Click to show internal directories.
Click to hide internal directories.