Node is a network

This commit is contained in:
Asim Aslam 2019-06-17 21:11:39 +01:00
parent 1a571b8c82
commit 59eaa89bac

View File

@ -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