refactor: separate NetworkOverlay from Overlay

...since connections only need to know about the latter.
This commit is contained in:
Matthias Radestock committed 2015-11-09 15:47:07 +00:00
1 parent d78f6614cc
commit 18f8e29af8
6 files changed
+25 -21

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ type SleeveOverlay struct {
forwarders map[PeerName]*sleeveForwarder
}
func NewSleeveOverlay(localPort int) Overlay {
func NewSleeveOverlay(localPort int) NetworkOverlay {
return &SleeveOverlay{localPort: localPort}
}