refactor: separate NetworkOverlay from Overlay
...since connections only need to know about the latter.
This commit is contained in:
1 parent
d78f6614cc
commit
18f8e29af8
6 files changed
+25
-21
No files matched your search
+1
-1
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user