cosmetic: move UDPPacket type from types.go to router.go
This commit is contained in:
1 parent
e171088fac
commit
2102fc8529
3 files changed
+10
-14
No files matched your search
@@ -1,15 +1,5 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
type UDPPacket struct {
|
||||
Name PeerName
|
||||
Packet []byte
|
||||
Sender *net.UDPAddr
|
||||
}
|
||||
|
||||
type ForwardedFrame struct {
|
||||
srcPeer *Peer
|
||||
dstPeer *Peer
|
||||
|
||||
Reference in new issue
Block a user