cosmetic: move ForwardedFrame type from types.go to forwarder.go

This commit is contained in:
Matthias Radestock committed 2015-01-20 21:15:50 +00:00
1 parent 2102fc8529
commit e82ed423c1
2 files changed
+6 -6

No files matched your search

+6
View File
@@ -7,6 +7,12 @@ import (
"time" "time"
) )
type ForwardedFrame struct {
srcPeer *Peer
dstPeer *Peer
frame []byte
}
type FrameTooBigError struct { type FrameTooBigError struct {
EPMTU int // effective pmtu, i.e. what we tell packet senders EPMTU int // effective pmtu, i.e. what we tell packet senders
} }
-6
View File
@@ -1,11 +1,5 @@
package router package router
type ForwardedFrame struct {
srcPeer *Peer
dstPeer *Peer
frame []byte
}
type Interaction struct { type Interaction struct {
code int code int
resultChan chan<- interface{} resultChan chan<- interface{}