Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PacketReader ¶
type PacketReader struct {
// contains filtered or unexported fields
}
PacketReader struct
func NewPacketReader ¶
func NewPacketReader(ctx context.Context, packetSource *gopacket.PacketSource, dumper dumper.Dumper, pValues []dumper.DumpValue) PacketReader
NewPacketReader return PacketReader
func (*PacketReader) ReadAndDump ¶
func (r *PacketReader) ReadAndDump(host string, port uint16) error
ReadAndDump from gopacket.PacketSource
Click to show internal directories.
Click to hide internal directories.