cosmetic: move packet i/o types from types.go into router.go

This commit is contained in:
Matthias Radestock committed 2015-01-20 21:20:28 +00:00
1 parent e82ed423c1
commit 44c8533632
2 files changed
+13 -15

No files matched your search

-15
View File
@@ -4,18 +4,3 @@ type Interaction struct {
code int
resultChan chan<- interface{}
}
// Packet capture/inject interfaces
type PacketSource interface {
ReadPacket() ([]byte, error)
}
type PacketSink interface {
WritePacket([]byte) error
}
type PacketSourceSink interface {
PacketSource
PacketSink
}