mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-24 22:26:54 +02:00
Added more node tests. Small refactoring of Netowkr and handler.
This commit is contained in:
@ -46,8 +46,8 @@ type Network interface {
|
||||
Connect() error
|
||||
// Nodes returns list of network nodes
|
||||
Nodes() []Node
|
||||
// Topology returns a list of all reachable nodes up to depth
|
||||
Topology(depth uint) []Node
|
||||
// Topology returns node topology up to MaxDepth hops
|
||||
Topology() Node
|
||||
// Close stops the tunnel and resolving
|
||||
Close() error
|
||||
// Client is micro client
|
||||
|
Reference in New Issue
Block a user