Testing the concept

This commit is contained in:
Nate Brown
2025-04-17 12:21:58 -05:00
parent 2f48529e8b
commit 663232e1fc
3 changed files with 80 additions and 19 deletions

12
packet/packet.go Normal file
View File

@@ -0,0 +1,12 @@
package packet
import "net/netip"
type Packet struct {
Payload []byte
Addr netip.AddrPort
}
func New() *Packet {
return &Packet{Payload: make([]byte, 9001)}
}