mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
Node is a network
This commit is contained in:
@@ -25,10 +25,8 @@ type Network interface {
|
||||
|
||||
// Node represents a network node
|
||||
type Node interface {
|
||||
// Id of the node
|
||||
Id() string
|
||||
// The network for this node
|
||||
Network() Network
|
||||
// Node is a network. Network is a node.
|
||||
Network
|
||||
}
|
||||
|
||||
// Message is a message sent over the network
|
||||
|
Reference in New Issue
Block a user