diff options
| author | 2026-03-06 13:01:12 +0800 | |
|---|---|---|
| committer | 2026-03-06 13:57:57 +0800 | |
| commit | 3307715a8d8bdeac1b2d7df66ec2abb6e503ba9a (patch) | |
| tree | 4505d11668a6160aa0b04f38811f7a0a721b5db0 /format/pktline/frame.go | |
| parent | *: go fix ./... (diff) | |
| signature | No signature | |
format/pktline: Add pktline v0.1.62
Diffstat (limited to 'format/pktline/frame.go')
| -rw-r--r-- | format/pktline/frame.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/format/pktline/frame.go b/format/pktline/frame.go new file mode 100644 index 00000000..a1cf708c --- /dev/null +++ b/format/pktline/frame.go @@ -0,0 +1,10 @@ +package pktline + +// Frame is one decoded pkt-line frame. +// +// For PacketData, Payload holds frame bytes (possibly empty for 0004). +// For control frames, Payload is nil. +type Frame struct { + Type PacketType + Payload []byte +} |
