mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 18:06:52 +01:00
Testing the concept
This commit is contained in:
1 parent
2f48529e8b
commit
663232e1fc
3 files changed
+80
-19
No files matched your search
@@ -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)}
|
||||
}
|
||||
Reference in new issue
Block a user