refactor: separate NetworkRouter from Router
This commit is contained in:
1 parent
daad190188
commit
7deeb8dba5
4 files changed
+56
-33
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ type LocalConnectionStatus struct {
|
||||
Info string
|
||||
}
|
||||
|
||||
func NewStatus(router *Router) *Status {
|
||||
func NewStatus(router *NetworkRouter) *Status {
|
||||
return &Status{
|
||||
Protocol,
|
||||
ProtocolMinVersion,
|
||||
|
||||
Reference in new issue
Block a user